rust/tests/ui/error-codes/E0030.rs

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

7 lines
135 B
Rust
Raw Normal View History

2016-05-17 13:01:31 +00:00
fn main() {
match 5u32 {
1000 ..= 5 => {}
//~^ ERROR lower range bound must be less than or equal to upper
2016-05-17 13:01:31 +00:00
}
}