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
163 B
Rust
Raw Normal View History

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