mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-29 23:20:30 +00:00
10 lines
169 B
Rust
10 lines
169 B
Rust
// incremental
|
|
// edition:2021
|
|
|
|
fn main() {
|
|
let _ = async {
|
|
let s = std::array::from_fn(|_| ()).await;
|
|
//~^ ERROR `[(); _]` is not a future
|
|
};
|
|
}
|