Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
async-await
/
no-unsafe-async.rs
blob: f40154e16f34eddd16ec3ec6ffdc3d7f2cacbdb0 [
file
] [
log
] [
blame
]
// edition:2018
struct
S
;
impl
S
{
#[
cfg
(
FALSE
)]
unsafe
async
fn
g
()
{}
//~ ERROR expected one of `extern` or `fn`, found keyword `async`
}
#[
cfg
(
FALSE
)]
unsafe
async
fn
f
()
{}
//~ ERROR expected one of `extern` or `fn`, found keyword `async`