rust/tests/ui/generator/unresolved-ct-var.rs
Camille GILLOT 211d2ed07b Bless tests.
2023-09-23 13:47:30 +00:00

10 lines
169 B
Rust

// incremental
// edition:2021
fn main() {
let _ = async {
let s = std::array::from_fn(|_| ()).await;
//~^ ERROR `[(); _]` is not a future
};
}