]>
git.proxmox.com Git - rustc.git/blob - tests/ui/async-await/suggest-missing-await-closure.rs
4 #![feature(async_closure)]
6 fn take_u32(_x
: u32) {}
8 async
fn make_u32() -> u32 {
13 async
fn suggest_await_in_async_closure() {
17 //~^ ERROR mismatched types [E0308]
18 //~| HELP consider `await`ing on the `Future`
19 //~| SUGGESTION .await