mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
27 lines
674 B
Plaintext
27 lines
674 B
Plaintext
error: 5th rule of macro `num` is never used
|
|
--> $DIR/unused-macro-rules-compile-error.rs:12:5
|
|
|
|
|
LL | (four) => { 4 };
|
|
| ^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/unused-macro-rules-compile-error.rs:1:9
|
|
|
|
|
LL | #![deny(unused_macro_rules)]
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: 3rd rule of macro `num2` is never used
|
|
--> $DIR/unused-macro-rules-compile-error.rs:22:5
|
|
|
|
|
LL | (two_) => { compile_error! };
|
|
| ^^^^^^
|
|
|
|
error: 2nd rule of macro `num2` is never used
|
|
--> $DIR/unused-macro-rules-compile-error.rs:20:5
|
|
|
|
|
LL | (two) => { fn compile_error() {} };
|
|
| ^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|