rust/tests/ui/half-open-range-patterns/pat-tuple-5.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
113 B
Rust
Raw Normal View History

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