]>
git.proxmox.com Git - rustc.git/blob - tests/ui/generator/unresolved-ct-var-drop-tracking.rs
3 // compile-flags: -Zdrop-tracking
7 let s
= std
::array
::from_fn(|_
| ()).await
;
8 //~^ ERROR `[(); _]` is not a future
9 //~| ERROR type inside `async` block must be known in this context
10 //~| ERROR type inside `async` block must be known in this context
11 //~| ERROR type inside `async` block must be known in this context
12 //~| ERROR type inside `async` block must be known in this context
13 //~| ERROR type inside `async` block must be known in this context