mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
16 lines
246 B
Rust
16 lines
246 B
Rust
//@ aux-build:raw-ident.rs
|
|
|
|
#[macro_use] extern crate raw_ident;
|
|
|
|
fn main() {
|
|
make_struct!(fn);
|
|
make_struct!(Foo);
|
|
make_struct!(await);
|
|
|
|
r#fn;
|
|
r#Foo;
|
|
Foo;
|
|
r#await;
|
|
|
|
make_bad_struct!(S); //~ ERROR expected one of
|
|
}
|