Skip to content

Commit aa76e62

Browse files
committed
First try
1 parent b166144 commit aa76e62

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/test/compile-fail/E0063.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ struct TruncatedPluralFoo {
4040

4141
fn main() {
4242
let w = SingleFoo { };
43-
//~^ ERROR missing field `x` in initializer of `SingleFoo`
44-
//~| NOTE missing `x`
43+
//~error[E0063]: missing field `x` in initializer of `SingleFoo`
44+
//~^^^ missing `x`
4545
let x = PluralFoo {x: 1};
46-
//~^ ERROR missing fields `y`, `z` in initializer of `PluralFoo`
47-
//~| NOTE missing `y`, `z`
46+
//~error[E0063]: missing fields `y`, `z` in initializer of `PluralFoo`
47+
//~^^^ missing `y`, `z`
4848
let y = TruncatedFoo{x:1};
4949
//~^ missing fields `a`, `b`, `y` and 1 other field in initializer of `TruncatedFoo`
50-
//~| NOTE `a`, `b`, `y` and 1 other field
50+
//~^^^ `a`, `b`, `y` and 1 other field
5151
let z = TruncatedPluralFoo{x:1};
52-
//~^ ERROR missing fields `a`, `b`, `c` and 2 other fields in initializer of `TruncatedPluralFoo`
53-
//~| NOTE missing `a`, `b`, `c` and 2 other fields
52+
//~error[E0063]: missing fields `a`, `b`, `c` and 2 other fields in initializer of `TruncatedPluralFoo`
53+
//~^^^ missing `a`, `b`, `c` and 2 other fields
5454
}

0 commit comments

Comments
 (0)