change item_bounds query to return EarlyBinder; remove bound_item_bounds query
This commit is contained in:
parent
85eeaa9965
commit
fc942eed7f
9 changed files with 15 additions and 19 deletions
|
@ -298,7 +298,7 @@ impl<'cx, 'tcx> VerifyBoundCx<'cx, 'tcx> {
|
|||
substs: SubstsRef<'tcx>,
|
||||
) -> impl Iterator<Item = ty::Region<'tcx>> {
|
||||
let tcx = self.tcx;
|
||||
let bounds = tcx.bound_item_bounds(def_id);
|
||||
let bounds = tcx.item_bounds(def_id);
|
||||
trace!("{:#?}", bounds.0);
|
||||
bounds
|
||||
.subst_iter(tcx, substs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue