2020-11-14 05:47:14 -06:00
|
|
|
error: cannot determine resolution for the attribute macro `derive`
|
|
|
|
--> $DIR/issue-43927-non-ADT-derive.rs:1:4
|
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!
|
2020-11-14 05:47:14 -06:00
|
|
|
| ^^^^^^
|
2019-08-02 20:22:44 -05:00
|
|
|
|
|
|
|
|
= note: import resolution is stuck, try simplifying macro imports
|
|
|
|
|
2021-10-09 07:13:15 -05:00
|
|
|
error: `derive` attribute cannot be used at crate level
|
|
|
|
--> $DIR/issue-43927-non-ADT-derive.rs:1:1
|
|
|
|
|
|
|
|
|
LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: perhaps you meant to use an outer attribute
|
|
|
|
|
|
|
|
|
LL | #[derive(Debug, PartialEq, Eq)] // should be an outer attribute!
|
|
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2017-08-22 21:22:52 -05:00
|
|
|
|