rust/tests/ui/macros/recovery-allowed.rs
2023-01-11 09:32:08 +00:00

9 lines
137 B
Rust

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