Skip to content

Commit

Permalink
introduce LateParamRegionKind
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr committed Dec 18, 2024
1 parent 4d05825 commit f415510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/ptr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ fn check_fn_args<'cx, 'tcx: 'cx>(
.def_id,
),
ty::ReBound(_, r) => r.kind.get_id(),
ty::ReLateParam(r) => r.bound_region.get_id(),
ty::ReLateParam(r) => r.kind.get_id(),
ty::ReStatic
| ty::ReVar(_)
| ty::RePlaceholder(_)
Expand Down

0 comments on commit f415510

Please sign in to comment.