This commit is contained in:
Matthias Krüger 2018-11-15 16:50:28 +01:00
parent a2c9d10da5
commit 2d0d41ff29
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ impl EarlyLintPass for MiscEarly {
}
}
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