]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0030.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / error-codes / E0030.rs
1 fn main() {
2     match 5u32 {
3         1000 ..= 5 => {}
4         //~^ ERROR lower range bound must be less than or equal to upper
5         //~| ERROR lower range bound must be less than or equal to upper
6     }
7 }