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