rust/tests/ui/macros/recovery-allowed.rs

9 lines
137 B
Rust
Raw Normal View History

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