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