2020-09-05 07:55:15 -05:00
|
|
|
error[E0774]: `derive` may only be applied to structs, enums and unions
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-43927-non-ADT-derive.rs:3:1
|
2017-08-22 21:22:52 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
|
2017-09-21 22:29:29 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Debug, PartialEq, Eq)]`
|
2017-08-22 21:22:52 -05:00
|
|
|
|
2019-08-02 20:22:44 -05:00
|
|
|
error: cannot determine resolution for the derive macro `Debug`
|
|
|
|
--> $DIR/issue-43927-non-ADT-derive.rs:3:11
|
|
|
|
|
|
|
|
|
LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= note: import resolution is stuck, try simplifying macro imports
|
|
|
|
|
|
|
|
error: cannot determine resolution for the derive macro `PartialEq`
|
|
|
|
--> $DIR/issue-43927-non-ADT-derive.rs:3:18
|
|
|
|
|
|
|
|
|
LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: import resolution is stuck, try simplifying macro imports
|
|
|
|
|
|
|
|
error: cannot determine resolution for the derive macro `Eq`
|
|
|
|
--> $DIR/issue-43927-non-ADT-derive.rs:3:29
|
|
|
|
|
|
|
|
|
LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
= note: import resolution is stuck, try simplifying macro imports
|
|
|
|
|
2020-11-18 16:54:19 -06:00
|
|
|
error: aborting due to 4 previous errors
|
2017-08-22 21:22:52 -05:00
|
|
|
|
2020-09-05 07:55:15 -05:00
|
|
|
For more information about this error, try `rustc --explain E0774`.
|