Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
async-await
/
issues
/
issue-62009-2.rs
blob: cb7336e6134225b8c6aa651a47f298880997a86a [
file
] [
log
] [
blame
]
// edition:2018
#![
feature
(
async_closure
)]
async
fn
print_dur
()
{}
fn
main
()
{
(
async
||
2333
)().
await
;
//~^ ERROR `await` is only allowed inside `async` functions and blocks
}