rust/tests/ui/feature-gates/feature-gate-exclusive-range-pattern.rs
2023-01-11 09:32:08 +00:00

7 lines
133 B
Rust

pub fn main() {
match 22 {
0 .. 3 => {} //~ ERROR exclusive range pattern syntax is experimental
_ => {}
}
}