Closed
Description
The following function does not compile because rustc determines that the patterns in the match statement are non-exhaustive. However, the pattern matches every possible value of the integer type, and the compiler should be able to detect this.
fn wont_compile(x : u8) {
match (x) {
0x00 .. 0xff => { }
}
}