5 //~^ error: `await` is only allowed inside `async` functions and blocks
6 //~| error: `.await` is not allowed in a `const`
7 //~| error: `loop` is not allowed in a `const`
8 //~| error: `.await` is not allowed in a `const`
9 //~| error: `()` is not a future