Sign in
fuchsia
/
third_party
/
rust
/
a8aa5114bf13d9c6b2b870c5bf63eab8e70a0018
/
.
/
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`