Rustup to rustc 1.36.0-nightly (fe0a415b4 2019-04-23)

This commit is contained in:
Manish Goregaokar 2019-04-23 08:25:45 -07:00
parent 6ae46a8c4d
commit f3455cda81

View File

@ -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 { if let PatKind::Struct(ref npat, ref pfields, _) = pat.node {
let mut wilds = 0; let mut wilds = 0;
let type_name = npat let type_name = npat