Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
async-await
/
no-const-async.rs
blob: 57a9f175ca318ca2f30e7959a263513dee779b25 [
file
] [
log
] [
blame
]
// edition:2018
// compile-flags: --crate-type lib
pub
const
async
fn
x
()
{}
//~^ ERROR functions cannot be both `const` and `async`
//~| ERROR `impl Trait` in const fn is unstable