File tree 3 files changed +14
-14
lines changed 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- #[ repr( i32 ) ] //~ ERROR E0084
12
- enum Foo { } //~ zero-variant enum
11
+ #[ repr( i32 ) ] //~ ERROR: E0084
12
+ enum Foo { } //~ NOTE: zero-variant enum
13
13
14
14
fn main ( ) {
15
15
}
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
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
13
13
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
16
16
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
19
19
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
22
22
}
23
23
24
24
fn main ( ) {
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- #[ inline( always) ] //~ ERROR E0518
12
- struct Foo ; //~ not a function
11
+ #[ inline( always) ] //~ ERROR: E0518
12
+ struct Foo ; //~ NOTE: not a function
13
13
14
- #[ inline( never) ] //~ ERROR E0518
15
- impl Foo { //~ not a function
14
+ #[ inline( never) ] //~ ERROR: E0518
15
+ impl Foo { //~ NOTE: not a function
16
16
}
17
17
18
18
fn main ( ) {
You can’t perform that action at this time.
0 commit comments