File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 88// option. This file may not be copied, modified, or distributed
99// except according to those terms.
1010
11- #[ repr( i32 ) ] //~ ERROR E0084
12- enum Foo { } //~ zero-variant enum
11+ #[ repr( i32 ) ] //~ ERROR: E0084
12+ enum Foo { } //~ NOTE: zero-variant enum
1313
1414fn main ( ) {
1515}
Original file line number Diff line number Diff line change 88// option. This file may not be copied, modified, or distributed
99// except according to those terms.
1010
11- #[ repr( C ) ] //~ ERROR E0517
12- type Foo = u8 ; //~ not a struct, enum or union
11+ #[ repr( C ) ] //~ ERROR: E0517
12+ type Foo = u8 ; //~ NOTE: not a struct, enum or union
1313
14- #[ repr( packed) ] //~ ERROR E0517
15- enum Foo2 { Bar , Baz } //~ not a struct
14+ #[ repr( packed) ] //~ ERROR: E0517
15+ enum Foo2 { Bar , Baz } //~ NOTE: not a struct
1616
17- #[ repr( u8 ) ] //~ ERROR E0517
18- struct Foo3 { bar : bool , baz : bool } //~ not an enum
17+ #[ repr( u8 ) ] //~ ERROR: E0517
18+ struct Foo3 { bar : bool , baz : bool } //~ NOTE: not an enum
1919
20- #[ repr( C ) ] //~ ERROR E0517
21- impl Foo3 { //~ not a struct, enum or union
20+ #[ repr( C ) ] //~ ERROR: E0517
21+ impl Foo3 { //~ NOTE: not a struct, enum or union
2222}
2323
2424fn main ( ) {
Original file line number Diff line number Diff line change 88// option. This file may not be copied, modified, or distributed
99// except according to those terms.
1010
11- #[ inline( always) ] //~ ERROR E0518
12- struct Foo ; //~ not a function
11+ #[ inline( always) ] //~ ERROR: E0518
12+ struct Foo ; //~ NOTE: not a function
1313
14- #[ inline( never) ] //~ ERROR E0518
15- impl Foo { //~ not a function
14+ #[ inline( never) ] //~ ERROR: E0518
15+ impl Foo { //~ NOTE: not a function
1616}
1717
1818fn main ( ) {
You can’t perform that action at this time.
0 commit comments