Skip to content

Commit 246a77e

Browse files
matthiaskrgralexcrichton
authored andcommitted
1 parent b1d0343 commit 246a77e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/misc_early.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ impl EarlyLintPass for MiscEarly {
216216
}
217217
}
218218

219-
fn check_pat(&mut self, cx: &EarlyContext<'_>, pat: &Pat) {
219+
fn check_pat(&mut self, cx: &EarlyContext<'_>, pat: &Pat, _: &mut bool) {
220220
if let PatKind::Struct(ref npat, ref pfields, _) = pat.node {
221221
let mut wilds = 0;
222222
let type_name = npat.segments

0 commit comments

Comments
 (0)