summaryrefslogtreecommitdiffstats
path: root/tests/ui/mismatched_types/issue-106182.fixed
blob: b8ddebf6fb63957d4a3ae80a425b8fb2b5288beb (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() {
}