mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 04:23:37 +00:00
9 lines
154 B
Rust
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() {}
|