Rename some functions to represent their generalized behavior

This commit is contained in:
Michael Goulet
2024-03-06 18:48:13 +00:00
parent 99df5a2b42
commit 74d5bbbf94
4 changed files with 13 additions and 13 deletions

View File

@@ -358,7 +358,7 @@ fn check_opaque_meets_bounds<'tcx>(
tcx, parent,
)
.extend_to(tcx, def_id.to_def_id(), |param, _| {
tcx.map_rpit_lifetime_to_fn_lifetime(param.def_id.expect_local()).into()
tcx.map_opaque_lifetime_to_parent_lifetime(param.def_id.expect_local()).into()
}),
};