5 #[derive(PartialEq)] //~ ERROR: `derive` may only be applied to structs, enums and unions
8 #[derive(PartialEq)] //~ ERROR: `derive` may only be applied to structs, enums and unions
11 #[derive(PartialEq)] //~ ERROR: `derive` may only be applied to structs, enums and unions
14 #[derive(PartialEq)] //~ ERROR: `derive` may only be applied to structs, enums and unions
17 #[derive(PartialEq)] //~ ERROR: `derive` may only be applied to structs, enums and unions
20 #[derive(PartialEq)] //~ ERROR: `derive` may only be applied to structs, enums and unions
23 #[derive(PartialEq)] //~ ERROR: `derive` may only be applied to structs, enums and unions
26 #[derive(PartialEq)] //~ ERROR: `derive` may only be applied to structs, enums and unions
29 #[derive(PartialEq)] //~ ERROR: `derive` may only be applied to structs, enums and unions