@@ -40,15 +40,15 @@ struct TruncatedPluralFoo {
40
40
41
41
fn main ( ) {
42
42
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`
45
45
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`
48
48
let y = TruncatedFoo { x : 1 } ;
49
49
//~^ 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
51
51
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
54
54
}
0 commit comments