summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused/unused-macro-with-follow-violation.rs
blob: 1666dae69b9513b476ee044a600bd42e9fd1d8ed (plain)
1
2
3
4
5
6
7
#![allow(unused_macros)]

macro_rules! test {
    ($e:expr +) => () //~ ERROR not allowed for `expr` fragments
}

fn main() { }