Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Nov 15, 2018
1 parent a2c9d10 commit 2d0d41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/misc_early.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d0d41f

Please sign in to comment.