summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0308-4.rs
blob: aaf7ef5bd792987b46539bb1d852904e04858582 (plain)
1
2
3
4
5
6
7
fn main() {
    let x = 1u8;
    match x {
        0u8..=3i8 => (), //~ ERROR E0308
        _ => ()
    }
}