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

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

9 lines
164 B
Rust
Raw Normal View History

2018-02-08 03:35:35 +00:00
//@ compile-flags: -Z teach
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
}
}