mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Merge remote-tracking branch 'origin/beta1.35' into backport-merge
This commit is contained in:
commit
9ba60b8333
@ -223,7 +223,7 @@ impl EarlyLintPass for MiscEarlyLints {
|
||||
}
|
||||
}
|
||||
|
||||
fn check_pat(&mut self, cx: &EarlyContext<'_>, pat: &Pat, _: &mut bool) {
|
||||
fn check_pat(&mut self, cx: &EarlyContext<'_>, pat: &Pat) {
|
||||
if let PatKind::Struct(ref npat, ref pfields, _) = pat.node {
|
||||
let mut wilds = 0;
|
||||
let type_name = npat
|
||||
|
Loading…
Reference in New Issue
Block a user