3 async fn print_dur() {}
6 async { let (); }.await;
7 //~^ ERROR `await` is only allowed inside `async` functions and blocks
9 //~^ ERROR `await` is only allowed inside `async` functions and blocks
10 let task1 = print_dur().await;
13 //~^ ERROR `await` is only allowed inside `async` functions and blocks