summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0530.rs
blob: 5bc40964f647b58364db05cb93a6dd83613d539d (plain)
1
2
3
4
5
6
7
8
fn main() {
    static TEST: i32 = 0;

    let r: (i32, i32) = (0, 0);
    match r {
        TEST => {} //~ ERROR E0530
    }
}