Skip to content

Commit 4009a44

Browse files
committed
Fix Binding for rustc update
1 parent bcefd68 commit 4009a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/matches.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ fn check_wild_enum_match(cx: &LateContext<'_, '_>, ex: &Expr, arms: &[Arm]) {
482482
for pat in &arm.pats {
483483
if let PatKind::Wild = pat.node {
484484
wildcard_span = Some(pat.span);
485-
} else if let PatKind::Binding(_, _, ident, None) = pat.node {
485+
} else if let PatKind::Binding(_, _, _, ident, None) = pat.node {
486486
wildcard_span = Some(pat.span);
487487
wildcard_ident = Some(ident);
488488
}

0 commit comments

Comments
 (0)