rust/src/test/ui/feature-gates/feature-gate-exclusive-range-pattern.rs
2019-10-24 00:32:03 +02:00

11 lines
237 B
Rust

#[cfg(FALSE)]
fn foo() {
match 22 {
0 .. 3 => {} //~ ERROR exclusive range pattern syntax is experimental
PATH .. 3 => {} //~ ERROR exclusive range pattern syntax is experimental
_ => {}
}
}
fn main() {}