Skip to content

Commit

Permalink
Merge #3431
Browse files Browse the repository at this point in the history
3431: rustup #55852 r=flip1995 a=matthiaskrgr



Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
  • Loading branch information
bors[bot] and matthiaskrgr committed Nov 15, 2018
2 parents a2c9d10 + 2d0d41f commit f5d868c
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 f5d868c

Please sign in to comment.