This code:
#[allow(dead_code)]
macro_rules! test {
    ($x:expr) => {{}}
}
fn main() {
    println!("Results:")
}
produces the following warning about unused macro definition:
warning: unused macro definition
  --> /home/xxx/.emacs.d/rust-playground/at-2017-08-02-031315/snippet.rs:10:1
   |
10 | / macro_rules! test {
11 | |     ($x:expr) => {{}}
12 | | }
   | |_^
   |
   = note: #[warn(unused_macros)] on by default
Is it possible to suppress it? As you can see #[allow(dead_code) doesn't help in case of macros.
 
     
    