1 error[E0774]: `derive` may only be applied to structs, enums and unions
2 --> $DIR/deriving-non-type.rs:5:1
4 LL | #[derive(PartialEq)]
7 error[E0774]: `derive` may only be applied to structs, enums and unions
8 --> $DIR/deriving-non-type.rs:8:1
10 LL | #[derive(PartialEq)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error[E0774]: `derive` may only be applied to structs, enums and unions
14 --> $DIR/deriving-non-type.rs:11:1
16 LL | #[derive(PartialEq)]
17 | ^^^^^^^^^^^^^^^^^^^^
19 error[E0774]: `derive` may only be applied to structs, enums and unions
20 --> $DIR/deriving-non-type.rs:14:1
22 LL | #[derive(PartialEq)]
23 | ^^^^^^^^^^^^^^^^^^^^
25 error[E0774]: `derive` may only be applied to structs, enums and unions
26 --> $DIR/deriving-non-type.rs:17:1
28 LL | #[derive(PartialEq)]
29 | ^^^^^^^^^^^^^^^^^^^^
31 error[E0774]: `derive` may only be applied to structs, enums and unions
32 --> $DIR/deriving-non-type.rs:20:1
34 LL | #[derive(PartialEq)]
35 | ^^^^^^^^^^^^^^^^^^^^
37 error[E0774]: `derive` may only be applied to structs, enums and unions
38 --> $DIR/deriving-non-type.rs:23:1
40 LL | #[derive(PartialEq)]
41 | ^^^^^^^^^^^^^^^^^^^^
43 error[E0774]: `derive` may only be applied to structs, enums and unions
44 --> $DIR/deriving-non-type.rs:26:1
46 LL | #[derive(PartialEq)]
47 | ^^^^^^^^^^^^^^^^^^^^
49 error[E0774]: `derive` may only be applied to structs, enums and unions
50 --> $DIR/deriving-non-type.rs:29:1
52 LL | #[derive(PartialEq)]
53 | ^^^^^^^^^^^^^^^^^^^^
55 error: aborting due to 9 previous errors
57 For more information about this error, try `rustc --explain E0774`.