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

27 lines
580 B
Plaintext

error: rule #2 of macro `num` is never used
--> $DIR/unused-macro-rules.rs:8:5
|
LL | (two) => { 2 };
| ^^^^^
|
note: the lint level is defined here
--> $DIR/unused-macro-rules.rs:1:9
|
LL | #![deny(unused_macro_rules)]
| ^^^^^^^^^^^^^^^^^^
error: rule #4 of macro `num` is never used
--> $DIR/unused-macro-rules.rs:10:5
|
LL | (four) => { 4 };
| ^^^^^^
error: rule #3 of macro `num_rec` is never used
--> $DIR/unused-macro-rules.rs:30:5
|
LL | (three) => {
| ^^^^^^^
error: aborting due to 3 previous errors