summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-exclusive-range-pattern.rs
blob: ded08b93fe81c525cfa71480c39364fbe8cc84e6 (plain)
1
2
3
4
5
6
pub fn main() {
    match 22 {
        0 .. 3 => {} //~ ERROR exclusive range pattern syntax is experimental
        _ => {}
    }
}