2019-09-15 12:55:18 +03:00
|
|
|
error: cannot find attribute `derive_Clone` in this scope
|
2019-07-12 01:00:20 +03:00
|
|
|
--> $DIR/issue-32655.rs:3:11
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[derive_Clone]
|
2022-09-20 11:55:07 +00:00
|
|
|
| ^^^^^^^^^^^^ help: an attribute macro with a similar name exists: `derive_const`
|
2018-07-15 14:11:54 -07:00
|
|
|
...
|
|
|
|
LL | foo!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ------ in this macro invocation
|
2022-12-09 15:56:23 +00:00
|
|
|
--> $SRC_DIR/core/src/macros/mod.rs:LL:COL
|
2019-12-16 15:56:47 +02:00
|
|
|
|
|
2022-12-09 15:56:23 +00:00
|
|
|
= note: similarly named attribute macro `derive_const` defined here
|
2022-09-20 11:55:07 +00:00
|
|
|
|
|
2021-02-13 14:52:25 -05:00
|
|
|
= note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-07-15 14:11:54 -07:00
|
|
|
|
2019-09-15 12:55:18 +03:00
|
|
|
error: cannot find attribute `derive_Clone` in this scope
|
2019-07-12 01:00:20 +03:00
|
|
|
--> $DIR/issue-32655.rs:15:7
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[derive_Clone]
|
2022-09-20 11:55:07 +00:00
|
|
|
| ^^^^^^^^^^^^ help: an attribute macro with a similar name exists: `derive_const`
|
2022-12-09 15:56:23 +00:00
|
|
|
--> $SRC_DIR/core/src/macros/mod.rs:LL:COL
|
2022-09-20 11:55:07 +00:00
|
|
|
|
|
2022-12-09 15:56:23 +00:00
|
|
|
= note: similarly named attribute macro `derive_const` defined here
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|