summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2497-if-let-chains/issue-93150.rs
blob: f90b9ab0d40f03c9823583dc785d1e78f56749c8 (plain)
1
2
3
4
5
6
7
8
fn main() {
    match true {
        _ if let true = true && true => {}
        //~^ ERROR `if let` guards are
        //~| ERROR `let` expressions in this
        _ => {}
    }
}