]> git.lizzy.rs Git - rust.git/blob - src/test/ui/half-open-range-patterns/pat-tuple-4.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / half-open-range-patterns / pat-tuple-4.rs
1 // check-pass
2
3 #![feature(half_open_range_patterns)]
4 #![feature(exclusive_range_pattern)]
5
6 fn main() {
7     const PAT: u8 = 1;
8
9     match 0 {
10         (.. PAT) => {}
11         _ => {}
12     }
13 }