Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
async-await
/
for-await-2015.rs
blob: 89ff256da1ddf5d8f575aa7f490e7010cff6d22a [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
feature
(
async_for_loop
)]
// Make sure we don't break `for await` loops in the 2015 edition, where `await` was allowed as an
// identifier.
fn
main
()
{
for
await in
0.
.
3
{}
}