rust/tests/ui/lint/unused/unused-macros.stderr

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

33 lines
727 B
Plaintext
Raw Normal View History

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