rustc/tests/ui/macros/recovery-allowed.rs
2023-08-02 10:33:26 +02:00

9 lines
137 B
Rust

macro_rules! please_recover {
($a:expr) => {};
}
please_recover! { not 1 }
//~^ ERROR unexpected `1` after identifier
fn main() {}