blob: 532d9339781d24fff539e4210431f6c2e4745cc2 [file] [log] [blame]
error: unused macro definition
--> $DIR/unused-macro-rules.rs:4:1
|
LL | / macro_rules! unused {
LL | | () => {};
LL | | }
| |_^
|
note: the lint level is defined here
--> $DIR/unused-macro-rules.rs:1:9
|
LL | #![deny(unused_macros)]
| ^^^^^^^^^^^^^
error: unused macro definition
--> $DIR/unused-macro-rules.rs:11:9
|
LL | / macro_rules! m {
LL | | () => {};
LL | | }
| |_________^
...
LL | create_macro!();
| ---------------- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: unused macro definition
--> $DIR/unused-macro-rules.rs:24:5
|
LL | / macro_rules! unused {
LL | | () => {};
LL | | }
| |_____^
|
note: the lint level is defined here
--> $DIR/unused-macro-rules.rs:23:12
|
LL | #[deny(unused_macros)]
| ^^^^^^^^^^^^^
error: aborting due to 3 previous errors