rust/src/test/ui/issues/issue-32655.stderr

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

30 lines
1 KiB
Plaintext
Raw Normal View History

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