]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/E0409.rs
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[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 }