Skip to content

Commit 2a3b768

Browse files
committed
update patch for new rustc version
1 parent 21a90de commit 2a3b768

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
@@ -586,7 +586,7 @@ fn pat_search_pat(tcx: TyCtxt<'_>, pat: &rustc_hir::Pat<'_>) -> (Pat, Pat) {
586586
(Pat::Str("box"), end)
587587
},
588588
PatKind::Deref(_) => (Pat::Str("deref!"), Pat::Str("")),
589-
PatKind::Ref(p, _) => {
589+
PatKind::Ref(p, _, _) => {
590590
let (_, end) = pat_search_pat(tcx, p);
591591
(Pat::Str("&"), end)
592592
},

0 commit comments

Comments
 (0)