rust/tests/ui/rfc-2497-if-let-chains/issue-93150.rs
2023-01-11 09:32:08 +00:00

9 lines
180 B
Rust

fn main() {
match true {
_ if let true = true && true => {}
//~^ ERROR `if let` guards are
//~| ERROR `let` expressions in this
_ => {}
}
}