blob: 56736e69f1b00351c4ee248dc0de1c9d64f105d2 [file] [log] [blame] [edit]
//@ compile-flags: -Z teach
fn main() {
match 5u32 {
1000 ..= 5 => {}
//~^ ERROR lower bound for range pattern must be less than or equal to upper bound
}
}