Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
async-await
/
unreachable-lint-1.rs
blob: d63d643c4e70b05dc84b03670efceabb59f1d468 [
file
] [
log
] [
blame
]
// edition:2018
#![
deny
(
unreachable_code
)]
async
fn
foo
()
{
return
;
bar
().
await
;
//~^ ERROR unreachable statement
}
async
fn
bar
()
{
}
fn
main
()
{
}