3 #![allow(non_camel_case_types)]
6 pub mod await { //~ ERROR expected identifier, found keyword `await`
7 pub struct await; //~ ERROR expected identifier, found keyword `await`
10 use self::outer_mod::await::await; //~ ERROR expected identifier, found keyword `await`
11 //~^ ERROR expected identifier, found keyword `await`
13 struct Foo { await: () }
14 //~^ ERROR expected identifier, found keyword `await`
16 impl Foo { fn await() {} }
17 //~^ ERROR expected identifier, found keyword `await`
20 //~^ ERROR expected identifier, found keyword `await`