]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0030.rs
Suggest `if let`/`let_else` for refutable pat in `let`
[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 }