blob: 218cd7678594fd072dff910ad52dc5b670ffd4eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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() {}
|