Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
async-await
/
no-const-async.rs
blob: bd78a18a40ed9e6ba527bf830693232f641fd769 [
file
] [
log
] [
blame
]
// compile-fail
// edition:2018
// compile-flags: --crate-type lib
pub
const
async
fn
x
()
{}
//~^ ERROR expected identifier, found reserved keyword `async`
//~^^ expected `:`, found keyword `fn`