1 error: `derive` may only be applied to structs, enums and unions
2 --> $DIR/issue-43927-non-ADT-derive.rs:13:1
4 13 | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 error: aborting due to previous error