Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
coroutine
/
unresolved-ct-var.rs
blob: d7e3c2d37324190456f1c4bf1a25c70a7fd49073 [
file
] [
log
] [
blame
] [
edit
]
//@ incremental
//@ edition:2021
fn
main
()
{
let
_
=
async
{
let
s
=
std
::
array
::
from_fn
(|
_
|
()).
await
;
//~^ ERROR `[(); _]` is not a future
};
}