Files
rust/tests/ui/empty/empty-macro-use.stderr

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

23 lines
576 B
Plaintext
Raw Permalink Normal View History

error: cannot find macro `macro_two` in this scope
--> $DIR/empty-macro-use.rs:8:5
2018-08-08 14:28:26 +02:00
|
LL | macro_two!();
| ^^^^^^^^^
2020-08-06 16:42:06 +06:00
|
help: consider importing this macro
|
LL + use two_macros::macro_two;
|
2018-08-08 14:28:26 +02:00
warning: unused attribute
--> $DIR/empty-macro-use.rs:3:12
|
LL | #[macro_use()]
| ^^ help: remove these parentheses
|
= note: using `macro_use` with an empty list is equivalent to not using a list at all
= note: requested on the command line with `-W unused-attributes`
error: aborting due to 1 previous error; 1 warning emitted
2018-08-08 14:28:26 +02:00