mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
33 lines
727 B
Plaintext
33 lines
727 B
Plaintext
error: unused macro definition: `unused`
|
|
--> $DIR/unused-macros.rs:6:14
|
|
|
|
|
LL | macro_rules! unused {
|
|
| ^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/unused-macros.rs:1:9
|
|
|
|
|
LL | #![deny(unused_macros)]
|
|
| ^^^^^^^^^^^^^
|
|
|
|
error: unused macro definition: `m`
|
|
--> $DIR/unused-macros.rs:13:22
|
|
|
|
|
LL | macro_rules! m {
|
|
| ^
|
|
|
|
error: unused macro definition: `unused`
|
|
--> $DIR/unused-macros.rs:26:18
|
|
|
|
|
LL | macro_rules! unused {
|
|
| ^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/unused-macros.rs:25:12
|
|
|
|
|
LL | #[deny(unused_macros)]
|
|
| ^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|