]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/E0409.rs
Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' into clippyup
[rust.git] / src / test / ui / mismatched_types / E0409.rs
1 fn main() {
2     let x = (0, 2);
3
4     match x {
5         (0, ref y) | (y, 0) => {} //~ ERROR E0409
6                                   //~| ERROR E0308
7         _ => ()
8     }
9 }