summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0030.rs
blob: 58d856b7c9d233d9af3c105ce8cf2281994f3004 (plain)
1
2
3
4
5
6
fn main() {
    match 5u32 {
        1000 ..= 5 => {}
        //~^ ERROR lower range bound must be less than or equal to upper
    }
}