]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/half-open-range-patterns/half-open-range-pats-syntactic-pass.rs
3 // Test the parsing of half-open ranges.
5 #![feature(exclusive_range_pattern)]
12 X
.. | 0.. | 'a'
.. | 0.0f32.. => {}
16 ..=0.0f32 | ..0.0f32 => {}
23 match 0u8 { ..$e => {}
, _
=> {}
}
24 match 0u8 { ..=$e => {}
, _
=> {}
}
25 match 0u8 { $e.. => {}
, _
=> {}
}