Skip to content

Commit f5d868c

Browse files
3431: rustup rust-lang/rust#55852 r=flip1995 a=matthiaskrgr Co-authored-by: Matthias Krüger <[email protected]>
2 parents a2c9d10 + 2d0d41f commit f5d868c

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

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

0 commit comments

Comments
 (0)