mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-20 12:35:11 +00:00
27 lines
583 B
Plaintext
27 lines
583 B
Plaintext
error: 4th rule of macro `num` is never used
|
|
--> $DIR/unused-macro-rules.rs:10:5
|
|
|
|
|
LL | (four) => { 4 };
|
|
| ^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/unused-macro-rules.rs:1:9
|
|
|
|
|
LL | #![deny(unused_macro_rules)]
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: 2nd rule of macro `num` is never used
|
|
--> $DIR/unused-macro-rules.rs:8:5
|
|
|
|
|
LL | (two) => { 2 };
|
|
| ^^^^^
|
|
|
|
error: 3rd rule of macro `num_rec` is never used
|
|
--> $DIR/unused-macro-rules.rs:30:5
|
|
|
|
|
LL | (three) => {
|
|
| ^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|