Skip to content

Commit b6864cc

Browse files
committed
update patch for new rustc version
1 parent cc201ee commit b6864cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/check_proc_macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ fn pat_search_pat(tcx: TyCtxt<'_>, pat: &rustc_hir::Pat<'_>) -> (Pat, Pat) {
592592
(Pat::Str("box"), end)
593593
},
594594
PatKind::Deref(_) => (Pat::Str("deref!"), Pat::Str("")),
595-
PatKind::Ref(p, _) => {
595+
PatKind::Ref(p, _, _) => {
596596
let (_, end) = pat_search_pat(tcx, p);
597597
(Pat::Str("&"), end)
598598
},

0 commit comments

Comments
 (0)