This commit is contained in:
Matthias Krüger 2018-11-15 16:50:28 +01:00 committed by Alex Crichton
parent b1d0343749
commit 246a77ebe8

View File

@ -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 {
let mut wilds = 0;
let type_name = npat.segments