rustc/tests/ui/half-open-range-patterns/pat-tuple-5.rs
2023-08-02 10:33:26 +02:00

10 lines
151 B
Rust

#![feature(exclusive_range_pattern)]
fn main() {
const PAT: u8 = 1;
match (0, 1) {
(PAT ..) => {} //~ ERROR mismatched types
}
}