error: unused macro definition: `unused`
  --> $DIR/unused-macro-rules.rs:4:14
   |
LL | macro_rules! unused {
   |              ^^^^^^
   |
note: the lint level is defined here
  --> $DIR/unused-macro-rules.rs:1:9
   |
LL | #![deny(unused_macros)]
   |         ^^^^^^^^^^^^^

error: unused macro definition: `m`
  --> $DIR/unused-macro-rules.rs:11:22
   |
LL |         macro_rules! m {
   |                      ^

error: unused macro definition: `unused`
  --> $DIR/unused-macro-rules.rs:24:18
   |
LL |     macro_rules! unused {
   |                  ^^^^^^
   |
note: the lint level is defined here
  --> $DIR/unused-macro-rules.rs:23:12
   |
LL |     #[deny(unused_macros)]
   |            ^^^^^^^^^^^^^

error: aborting due to 3 previous errors

