]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/raw-ident.rs
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[rust.git] / tests / ui / proc-macro / raw-ident.rs
1 // aux-build:raw-ident.rs
2
3 #[macro_use] extern crate raw_ident;
4
5 fn main() {
6     make_struct!(fn);
7     make_struct!(Foo);
8     make_struct!(await);
9
10     r#fn;
11     r#Foo;
12     Foo;
13     r#await;
14
15     make_bad_struct!(S); //~ ERROR expected one of
16 }