summaryrefslogtreecommitdiffstats
path: root/src/test/ui/match/issue-92100.rs
blob: 021166b2ba5609622578d79101873432a767b447 (plain)
1
2
3
4
5
6
7
#![feature(half_open_range_patterns)]

fn main() {
    match [1, 2] {
        [a.., a] => {} //~ ERROR cannot find value `a` in this scope
    }
}