Merge remote-tracking branch 'origin/rust-1.31.0' into HEAD
This commit is contained in:
commit
80eb7b9503
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue