rust/tests/ui/rfcs/rfc-2497-if-let-chains/issue-93150.rs

9 lines
180 B
Rust

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