This commit is contained in:
parent
b1d0343749
commit
246a77ebe8
@ -216,7 +216,7 @@ fn check_generics(&mut self, cx: &EarlyContext<'_>, gen: &Generics) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn check_pat(&mut self, cx: &EarlyContext<'_>, pat: &Pat) {
|
fn check_pat(&mut self, cx: &EarlyContext<'_>, pat: &Pat, _: &mut bool) {
|
||||||
if let PatKind::Struct(ref npat, ref pfields, _) = pat.node {
|
if let PatKind::Struct(ref npat, ref pfields, _) = pat.node {
|
||||||
let mut wilds = 0;
|
let mut wilds = 0;
|
||||||
let type_name = npat.segments
|
let type_name = npat.segments
|
||||||
|
Loading…
Reference in New Issue
Block a user