summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/issue-106552.rs
blob: aa2c141e05ef268deef8bdcb9fb9bdc3249ae0a7 (plain)
1
2
3
4
5
6
7
fn main() {
    let 5 = 6;
    //~^ error refutable pattern in local binding [E0005]

    let x @ 5 = 6;
    //~^ error refutable pattern in local binding [E0005]
}