mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
This commit is contained in:
parent
a2c9d10da5
commit
2d0d41ff29
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue