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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
180 B
Rust
Raw Normal View History

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