change item_bounds query to return EarlyBinder; remove bound_item_bounds query
This commit is contained in:
@@ -1604,7 +1604,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
||||
);
|
||||
}
|
||||
};
|
||||
let bounds = tcx.bound_item_bounds(def_id).subst(tcx, substs);
|
||||
let bounds = tcx.item_bounds(def_id).subst(tcx, substs);
|
||||
|
||||
// The bounds returned by `item_bounds` may contain duplicates after
|
||||
// normalization, so try to deduplicate when possible to avoid
|
||||
|
||||
Reference in New Issue
Block a user