2020-11-14 14:47:14 +03:00
|
|
|
error: cannot determine resolution for the attribute macro `derive`
|
|
|
|
--> $DIR/issue-43927-non-ADT-derive.rs:1:4
|
2017-08-22 19:22:52 -07:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
|
2020-11-14 14:47:14 +03:00
|
|
|
| ^^^^^^
|
2019-08-03 04:22:44 +03:00
|
|
|
|
|
|
|
|
= note: import resolution is stuck, try simplifying macro imports
|
|
|
|
|
2021-10-09 13:13:15 +01: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 19:22:52 -07:00
|
|
|
|