summaryrefslogtreecommitdiffstats
path: root/tests/ui/mismatched_types/issue-106182.rs
blob: 6eb6df13a028c9a567d3bc7c144fd640a7eaeb3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// run-rustfix

struct _S(u32, Vec<i32>);

fn _foo(x: &_S) {
    match x {
        _S(& (mut _y), _v) => {
        //~^ ERROR mismatched types [E0308]
        }
    }
}

fn main() {
}