rust/tests/ui/feature-gates/feature-gate-exclusive-range-pattern.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
133 B
Rust
Raw Normal View History

pub fn main() {
2015-01-31 10:23:42 -06:00
match 22 {
0 .. 3 => {} //~ ERROR exclusive range pattern syntax is experimental
2014-09-24 00:15:16 -05:00
_ => {}
}
}