rust/tests/ui/mir/build-async-error-body-corr...

9 lines
154 B
Rust

//@ edition: 2021
async fn asyncfn() {
let binding = match true {};
//~^ ERROR non-exhaustive patterns: type `bool` is non-empty
}
fn main() {}