Merge remote-tracking branch 'origin/rust-1.31.0' into HEAD
This commit is contained in:
commit
80eb7b9503
@ -223,7 +223,7 @@ impl EarlyLintPass for MiscEarlyLints {
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user