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 16:23:42 +00:00
match 22 {
0 .. 3 => {} //~ ERROR exclusive range pattern syntax is experimental
2014-09-24 05:15:16 +00:00
_ => {}
}
}