rust/src/test/ui/lint/unused/unused-macro-rules.stderr

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

33 lines
752 B
Plaintext
Raw Normal View History

error: unused macro definition: `unused`
--> $DIR/unused-macro-rules.rs:4:14
2018-08-08 07:28:26 -05:00
|
LL | macro_rules! unused {
| ^^^^^^
2018-08-08 07:28:26 -05:00
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
2018-12-25 09:56:47 -06:00
--> $DIR/unused-macro-rules.rs:1:9
2018-08-08 07:28:26 -05:00
|
LL | #![deny(unused_macros)]
| ^^^^^^^^^^^^^
error: unused macro definition: `m`
--> $DIR/unused-macro-rules.rs:11:22
2018-08-08 07:28:26 -05:00
|
LL | macro_rules! m {
| ^
2018-08-08 07:28:26 -05:00
error: unused macro definition: `unused`
--> $DIR/unused-macro-rules.rs:24:18
2018-08-08 07:28:26 -05:00
|
LL | macro_rules! unused {
| ^^^^^^
2018-08-08 07:28:26 -05:00
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
2018-12-25 09:56:47 -06:00
--> $DIR/unused-macro-rules.rs:23:12
2018-08-08 07:28:26 -05:00
|
LL | #[deny(unused_macros)]
| ^^^^^^^^^^^^^
error: aborting due to 3 previous errors