blob: 50203d3cf4f222584b1fe0e56039f34e0f56ca77 [file] [log] [blame] [edit]
#![allow(unreachable_patterns)]
fn main() {
match 0u8 {
251..257 => {}
//~^ ERROR literal out of range
251..=256 => {}
//~^ ERROR literal out of range
_ => {}
}
}