Merge remote-tracking branch 'origin/rust-1.31.0' into HEAD

This commit is contained in:
Manish Goregaokar 2019-05-17 12:54:15 -07:00
commit 80eb7b9503

View File

@ -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