summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0529.rs
blob: a82bc9ebcf451be46de82652a516393d2d07a4f4 (plain)
1
2
3
4
5
6
7
8
fn main() {
    let r: f32 = 1.0;
    match r {
        [a, b] => {
        //~^ ERROR E0529
        }
    }
}