Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
mir
/
build-async-error-body-correctly.rs
blob: 8f1a3ec8fb59a9dd73836bd3bd607586496d398c [
file
] [
log
] [
blame
]
//@ edition: 2021
async
fn
asyncfn
()
{
let
binding
=
match
true
{};
//~^ ERROR non-exhaustive patterns: type `bool` is non-empty
}
fn
main
()
{}