summaryrefslogtreecommitdiffstats
path: root/src/test/ui/match/match-vec-mismatch-2.rs
blob: 553095837d3c00852870d356bcc85b9cf6bfdd44 (plain)
1
2
3
4
5
6
fn main() {
    match () {
        [()] => { }
        //~^ ERROR expected an array or slice, found `()`
    }
}