2019-09-15 13:12:14 +03:00
|
|
|
error: cannot find macro `macro_two` in this scope
|
2025-10-17 16:46:32 +02:00
|
|
|
--> $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
|
|
|
|
|
2023-06-10 00:06:34 +08:00
|
|
|
help: consider importing this macro
|
|
|
|
|
|
|
|
|
|
|
LL + use two_macros::macro_two;
|
|
|
|
|
|
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2025-10-17 16:46:32 +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
|
|
|
|