mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Merge #3431
3431: rustup https://github.com/rust-lang/rust/pull/55852/ r=flip1995 a=matthiaskrgr Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
This commit is contained in:
commit
f5d868c9ed
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