Rename projection_predicates to item_bounds
This commit is contained in:
parent
5ded394553
commit
0eb87ed55f
6 changed files with 21 additions and 32 deletions
|
@ -328,8 +328,8 @@ impl<'cx, 'tcx> VerifyBoundCx<'cx, 'tcx> {
|
|||
assoc_item_def_id: DefId,
|
||||
) -> impl Iterator<Item = ty::Region<'tcx>> {
|
||||
let tcx = self.tcx;
|
||||
let predicates = tcx.projection_predicates(assoc_item_def_id);
|
||||
predicates
|
||||
let bounds = tcx.item_bounds(assoc_item_def_id);
|
||||
bounds
|
||||
.into_iter()
|
||||
.filter_map(|p| p.to_opt_type_outlives())
|
||||
.filter_map(|p| p.no_bound_vars())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue