]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0030-teach.rs
Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup
[rust.git] / src / test / ui / error-codes / E0030-teach.rs
1 // compile-flags: -Z teach
2
3 fn main() {
4     match 5u32 {
5         1000 ..= 5 => {}
6         //~^ ERROR lower range bound must be less than or equal to upper
7         //~| ERROR lower range bound must be less than or equal to upper
8     }
9 }