]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-exclusive-range-pattern.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / feature-gates / feature-gate-exclusive-range-pattern.rs
1 pub fn main() {
2     match 22 {
3         0 .. 3 => {} //~ ERROR exclusive range pattern syntax is experimental
4         _ => {}
5     }
6 }