rust/tests/ui/parser/bad-recover-kw-after-impl.rs
2024-02-16 20:02:50 +00:00

16 lines
226 B
Rust

//@ check-pass
//@ edition:2021
// for the `impl` + keyword test
macro_rules! impl_primitive {
($ty:ty) => {
compile_error!("whoops");
};
(impl async) => {};
}
impl_primitive!(impl async);
fn main() {}