rust/tests/ui/lint/unused/unused-macro-rules.stderr

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

27 lines
583 B
Plaintext
Raw Normal View History

error: 4th rule of macro `num` is never used
--> $DIR/unused-macro-rules.rs:10:5
2018-08-08 07:28:26 -05:00
|
LL | (four) => { 4 };
| ^^^^^^
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_macro_rules)]
| ^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: 2nd rule of macro `num` is never used
--> $DIR/unused-macro-rules.rs:8:5
2018-08-08 07:28:26 -05:00
|
LL | (two) => { 2 };
| ^^^^^
2018-08-08 07:28:26 -05:00
error: 3rd rule of macro `num_rec` is never used
--> $DIR/unused-macro-rules.rs:30:5
2018-08-08 07:28:26 -05:00
|
LL | (three) => {
| ^^^^^^^
2018-08-08 07:28:26 -05:00
error: aborting due to 3 previous errors