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.

10 lines
236 B
Rust
Raw Normal View History

2018-02-07 21:35:35 -06:00
// compile-flags: -Z teach
2016-05-17 08:01:31 -05:00
fn main() {
match 5u32 {
1000 ..= 5 => {}
//~^ ERROR lower range bound must be less than or equal to upper
//~| ERROR lower range bound must be less than or equal to upper
2016-05-17 08:01:31 -05:00
}
}