2024-05-10 15:34:12 +10:00
|
|
|
error: rule #4 of macro `num` is never used
|
2022-04-17 15:54:04 +02:00
|
|
|
--> $DIR/unused-macro-rules.rs:10:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2022-04-17 15:54:04 +02:00
|
|
|
LL | (four) => { 4 };
|
|
|
|
| ^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/unused-macro-rules.rs:1:9
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2022-04-17 15:54:04 +02:00
|
|
|
LL | #![deny(unused_macro_rules)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2024-05-10 15:34:12 +10:00
|
|
|
error: rule #2 of macro `num` is never used
|
2022-04-17 15:54:04 +02:00
|
|
|
--> $DIR/unused-macro-rules.rs:8:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2022-04-17 15:54:04 +02:00
|
|
|
LL | (two) => { 2 };
|
|
|
|
| ^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2024-05-10 15:34:12 +10:00
|
|
|
error: rule #3 of macro `num_rec` is never used
|
2022-04-17 15:54:04 +02:00
|
|
|
--> $DIR/unused-macro-rules.rs:30:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2022-04-17 15:54:04 +02:00
|
|
|
LL | (three) => {
|
|
|
|
| ^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|