Make item self/non-self bound naming less whack
This commit is contained in:
parent
3f8ce7c973
commit
009d68740f
19 changed files with 91 additions and 100 deletions
|
@ -281,7 +281,7 @@ impl<'cx, 'tcx> VerifyBoundCx<'cx, 'tcx> {
|
|||
alias_ty: ty::AliasTy<'tcx>,
|
||||
) -> impl Iterator<Item = ty::Region<'tcx>> {
|
||||
let tcx = self.tcx;
|
||||
let bounds = tcx.item_super_predicates(alias_ty.def_id);
|
||||
let bounds = tcx.item_self_bounds(alias_ty.def_id);
|
||||
trace!("{:#?}", bounds.skip_binder());
|
||||
bounds
|
||||
.iter_instantiated(tcx, alias_ty.args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue