]> git.lizzy.rs Git - rust.git/blob - tests/ui/half-open-range-patterns/pat-tuple-5.rs
Rollup merge of #104672 - Voultapher:unify-sort-modules, r=thomcc
[rust.git] / tests / ui / half-open-range-patterns / pat-tuple-5.rs
1 #![feature(exclusive_range_pattern)]
2
3 fn main() {
4     const PAT: u8 = 1;
5
6     match (0, 1) {
7         (PAT ..) => {} //~ ERROR mismatched types
8     }
9 }