]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0030-teach.rs
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[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 }