rust/tests/ui/issues/issue-32655.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
890 B
Plaintext
Raw Normal View History

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