mirror of https://github.com/rust-lang/rust.git
8 lines
108 B
Rust
8 lines
108 B
Rust
|
fn main() {
|
||
|
let x = 1u8;
|
||
|
match x {
|
||
|
0u8..=3i8 => (), //~ ERROR E0308
|
||
|
_ => ()
|
||
|
}
|
||
|
}
|