fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: `[(); _]` is not a future 2 --> $DIR/unresolved-ct-var.rs:6:45 3 | 4LL | let s = std::array::from_fn(|_| ()).await; 5 | ----------------------------^^^^^ 6 | | || 7 | | |`[(); _]` is not a future 8 | | help: remove the `.await` 9 | this call returns `[(); _]` 10 | 11 = help: the trait `Future` is not implemented for `[(); _]` 12 = note: [(); _] must be a future or must implement `IntoFuture` to be awaited 13 = note: required for `[(); _]` to implement `IntoFuture` 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0277`.