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