]> git.lizzy.rs Git - rust.git/blob - tests/ui/mismatched_types/issue-106182.fixed
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / mismatched_types / issue-106182.fixed
1 // run-rustfix
2
3 struct _S(u32, Vec<i32>);
4
5 fn _foo(x: &_S) {
6     match x {
7         _S(mut _y, _v) => {
8         //~^ ERROR mismatched types [E0308]
9         }
10     }
11 }
12
13 fn main() {
14 }