summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/recovery-allowed.rs
blob: ebf65f1cc01e693a5bdad81efdc35da0aa24c6a1 (plain)
1
2
3
4
5
6
7
8
macro_rules! please_recover {
    ($a:expr) => {};
}

please_recover! { not 1 }
//~^ ERROR unexpected `1` after identifier

fn main() {}