rust/tests/ui/error-codes/E0308-4.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
108 B
Rust
Raw Normal View History

2016-08-04 07:51:52 +08:00
fn main() {
let x = 1u8;
match x {
0u8..=3i8 => (), //~ ERROR E0308
2016-08-04 07:51:52 +08:00
_ => ()
}
}