]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0030-teach.rs
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
[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 }