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