diff options
| author | Knight <knight42@mail.ustc.edu.cn> | 2016-08-17 00:57:44 +0800 |
|---|---|---|
| committer | Knight <knight42@mail.ustc.edu.cn> | 2016-08-17 03:02:25 +0800 |
| commit | d2e78956c39c1b1e94169f2a1f7cde34aef4ff96 (patch) | |
| tree | a821b9df76a2e9a8d3c7e90c9335fdea95f7d4c7 /src/test | |
| parent | e25542cb02d946959517ebb68e2f7b1318817237 (diff) | |
| download | rust-d2e78956c39c1b1e94169f2a1f7cde34aef4ff96.tar.gz rust-d2e78956c39c1b1e94169f2a1f7cde34aef4ff96.zip | |
Updated E0422 to new error message
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/E0422.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/E0422.rs b/src/test/compile-fail/E0422.rs index d1cb7fd9640..61e96b896a6 100644 --- a/src/test/compile-fail/E0422.rs +++ b/src/test/compile-fail/E0422.rs @@ -9,5 +9,7 @@ // except according to those terms. fn main () { - let x = Foo { x: 1, y: 2 }; //~ ERROR E0422 + let x = Foo { x: 1, y: 2 }; + //~^ ERROR E0422 + //~| NOTE not a structure } |
