mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-10 14:57:14 +00:00
Rustup to rustc 1.36.0-nightly (fe0a415b4
2019-04-23)
This commit is contained in:
parent
6ae46a8c4d
commit
f3455cda81
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user