|
1 | | -error: `derive` may only be applied to structs, enums and unions |
| 1 | +error[E0774]: `derive` may only be applied to structs, enums and unions |
2 | 2 | --> $DIR/deriving-non-type.rs:5:1 |
3 | 3 | | |
4 | 4 | LL | #[derive(PartialEq)] |
5 | 5 | | ^^^^^^^^^^^^^^^^^^^^ |
6 | 6 |
|
7 | | -error: `derive` may only be applied to structs, enums and unions |
| 7 | +error[E0774]: `derive` may only be applied to structs, enums and unions |
8 | 8 | --> $DIR/deriving-non-type.rs:8:1 |
9 | 9 | | |
10 | 10 | LL | #[derive(PartialEq)] |
11 | 11 | | ^^^^^^^^^^^^^^^^^^^^ |
12 | 12 |
|
13 | | -error: `derive` may only be applied to structs, enums and unions |
| 13 | +error[E0774]: `derive` may only be applied to structs, enums and unions |
14 | 14 | --> $DIR/deriving-non-type.rs:11:1 |
15 | 15 | | |
16 | 16 | LL | #[derive(PartialEq)] |
17 | 17 | | ^^^^^^^^^^^^^^^^^^^^ |
18 | 18 |
|
19 | | -error: `derive` may only be applied to structs, enums and unions |
| 19 | +error[E0774]: `derive` may only be applied to structs, enums and unions |
20 | 20 | --> $DIR/deriving-non-type.rs:14:1 |
21 | 21 | | |
22 | 22 | LL | #[derive(PartialEq)] |
23 | 23 | | ^^^^^^^^^^^^^^^^^^^^ |
24 | 24 |
|
25 | | -error: `derive` may only be applied to structs, enums and unions |
| 25 | +error[E0774]: `derive` may only be applied to structs, enums and unions |
26 | 26 | --> $DIR/deriving-non-type.rs:17:1 |
27 | 27 | | |
28 | 28 | LL | #[derive(PartialEq)] |
29 | 29 | | ^^^^^^^^^^^^^^^^^^^^ |
30 | 30 |
|
31 | | -error: `derive` may only be applied to structs, enums and unions |
| 31 | +error[E0774]: `derive` may only be applied to structs, enums and unions |
32 | 32 | --> $DIR/deriving-non-type.rs:20:1 |
33 | 33 | | |
34 | 34 | LL | #[derive(PartialEq)] |
35 | 35 | | ^^^^^^^^^^^^^^^^^^^^ |
36 | 36 |
|
37 | | -error: `derive` may only be applied to structs, enums and unions |
| 37 | +error[E0774]: `derive` may only be applied to structs, enums and unions |
38 | 38 | --> $DIR/deriving-non-type.rs:23:1 |
39 | 39 | | |
40 | 40 | LL | #[derive(PartialEq)] |
41 | 41 | | ^^^^^^^^^^^^^^^^^^^^ |
42 | 42 |
|
43 | | -error: `derive` may only be applied to structs, enums and unions |
| 43 | +error[E0774]: `derive` may only be applied to structs, enums and unions |
44 | 44 | --> $DIR/deriving-non-type.rs:26:1 |
45 | 45 | | |
46 | 46 | LL | #[derive(PartialEq)] |
47 | 47 | | ^^^^^^^^^^^^^^^^^^^^ |
48 | 48 |
|
49 | | -error: `derive` may only be applied to structs, enums and unions |
| 49 | +error[E0774]: `derive` may only be applied to structs, enums and unions |
50 | 50 | --> $DIR/deriving-non-type.rs:29:1 |
51 | 51 | | |
52 | 52 | LL | #[derive(PartialEq)] |
53 | 53 | | ^^^^^^^^^^^^^^^^^^^^ |
54 | 54 |
|
55 | 55 | error: aborting due to 9 previous errors |
56 | 56 |
|
| 57 | +For more information about this error, try `rustc --explain E0774`. |
0 commit comments