Rustup to rustc 1.36.0-nightly (fe0a415b4
2019-04-23)
This commit is contained in:
parent
6ae46a8c4d
commit
f3455cda81
@ -223,7 +223,7 @@ fn check_generics(&mut self, cx: &EarlyContext<'_>, gen: &Generics) {
|
||||
}
|
||||
}
|
||||
|
||||
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