Skip to content

Commit f415510

Browse files
committed
introduce LateParamRegionKind
1 parent 4d05825 commit f415510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ fn check_fn_args<'cx, 'tcx: 'cx>(
475475
.def_id,
476476
),
477477
ty::ReBound(_, r) => r.kind.get_id(),
478-
ty::ReLateParam(r) => r.bound_region.get_id(),
478+
ty::ReLateParam(r) => r.kind.get_id(),
479479
ty::ReStatic
480480
| ty::ReVar(_)
481481
| ty::RePlaceholder(_)

0 commit comments

Comments
 (0)