]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/issue-33498.rs
Make some diagnostics not depend on the source of what they reference being available
[rust.git] / src / test / ui / match / issue-33498.rs
1 // run-pass
2 #![allow(unused_variables)]
3 pub fn main() {
4     let x = (0, 2);
5
6     match x {
7         (0, ref y) => {}
8         (y, 0) => {}
9         _ => (),
10     }
11 }