rustc/tests/ui/half-open-range-patterns/pat-tuple-5.rs
2024-07-31 08:40:13 +02:00

8 lines
113 B
Rust

fn main() {
const PAT: u8 = 1;
match (0, 1) {
(PAT ..) => {} //~ ERROR mismatched types
}
}