summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/pat-tuple-3.rs
blob: 1486ab231aab4f084fc404433339616c803179c5 (plain)
1
2
3
4
5
6
fn main() {
    match (0, 1, 2) {
        (.., pat, ..) => {}
        //~^ ERROR `..` can only be used once per tuple pattern
    }
}