]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/issue-43927-non-ADT-derive.stderr
only set non-ADT derive error once per attribute, not per trait
[rust.git] / src / test / ui / span / issue-43927-non-ADT-derive.stderr
1 error: `derive` may only be applied to structs, enums and unions
2   --> $DIR/issue-43927-non-ADT-derive.rs:13:1
3    |
4 13 | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8