3 #![allow(non_camel_case_types)]
4 #![deny(keyword_idents)]
8 //~^ ERROR `await` is a keyword
9 //~| WARN this is accepted in the current edition
11 //~^ ERROR `await` is a keyword
12 //~| WARN this is accepted in the current edition
15 use outer_mod::await::await;
16 //~^ ERROR `await` is a keyword
17 //~| ERROR `await` is a keyword
18 //~| WARN this is accepted in the current edition
19 //~| WARN this is accepted in the current edition
22 match await { await => {} }
23 //~^ ERROR `await` is a keyword
24 //~| ERROR `await` is a keyword
25 //~| WARN this is accepted in the current edition
26 //~| WARN this is accepted in the current edition