Sign in
rust
/
rust
/
08cd08fbef8c6663b052d8d9e4930d5696cbb8a7
/
.
/
tests
/
ui
/
parser
/
issues
/
issue-113203.rs
blob: 70e5003c63af8b10c21423eb64cecdb6c8e56bc0 [
file
]
// Checks what happens when we attempt to use the await keyword as a prefix. Span
// incorrectly emitted an `.await` in E0277 which does not exist
//@ edition:2018
fn
main
()
{
await
{}()
//~^ ERROR incorrect use of `await`
}