@@ -65,9 +65,9 @@ pub fn provide(providers: &mut Providers) {
6565 type_alias_is_lazy : type_of:: type_alias_is_lazy,
6666 item_bounds : item_bounds:: item_bounds,
6767 explicit_item_bounds : item_bounds:: explicit_item_bounds,
68- item_super_predicates : item_bounds:: item_super_predicates ,
69- explicit_item_super_predicates : item_bounds:: explicit_item_super_predicates ,
70- item_non_self_assumptions : item_bounds:: item_non_self_assumptions ,
68+ item_self_bounds : item_bounds:: item_self_bounds ,
69+ explicit_item_self_bounds : item_bounds:: explicit_item_self_bounds ,
70+ item_non_self_bounds : item_bounds:: item_non_self_bounds ,
7171 impl_super_outlives : item_bounds:: impl_super_outlives,
7272 generics_of : generics_of:: generics_of,
7373 predicates_of : predicates_of:: predicates_of,
@@ -345,9 +345,9 @@ impl<'tcx> Visitor<'tcx> for CollectItemTypesVisitor<'tcx> {
345345 self . tcx . ensure ( ) . generics_of ( def_id) ;
346346 self . tcx . ensure ( ) . predicates_of ( def_id) ;
347347 self . tcx . ensure ( ) . explicit_item_bounds ( def_id) ;
348- self . tcx . ensure ( ) . explicit_item_super_predicates ( def_id) ;
348+ self . tcx . ensure ( ) . explicit_item_self_bounds ( def_id) ;
349349 self . tcx . ensure ( ) . item_bounds ( def_id) ;
350- self . tcx . ensure ( ) . item_super_predicates ( def_id) ;
350+ self . tcx . ensure ( ) . item_self_bounds ( def_id) ;
351351 if self . tcx . is_conditionally_const ( def_id) {
352352 self . tcx . ensure ( ) . explicit_implied_const_bounds ( def_id) ;
353353 self . tcx . ensure ( ) . const_conditions ( def_id) ;
@@ -839,7 +839,7 @@ fn lower_trait_item(tcx: TyCtxt<'_>, trait_item_id: hir::TraitItemId) {
839839
840840 hir:: TraitItemKind :: Type ( _, Some ( _) ) => {
841841 tcx. ensure ( ) . item_bounds ( def_id) ;
842- tcx. ensure ( ) . item_super_predicates ( def_id) ;
842+ tcx. ensure ( ) . item_self_bounds ( def_id) ;
843843 tcx. ensure ( ) . type_of ( def_id) ;
844844 // Account for `type T = _;`.
845845 let mut visitor = HirPlaceholderCollector :: default ( ) ;
@@ -856,7 +856,7 @@ fn lower_trait_item(tcx: TyCtxt<'_>, trait_item_id: hir::TraitItemId) {
856856
857857 hir:: TraitItemKind :: Type ( _, None ) => {
858858 tcx. ensure ( ) . item_bounds ( def_id) ;
859- tcx. ensure ( ) . item_super_predicates ( def_id) ;
859+ tcx. ensure ( ) . item_self_bounds ( def_id) ;
860860 // #74612: Visit and try to find bad placeholders
861861 // even if there is no concrete type.
862862 let mut visitor = HirPlaceholderCollector :: default ( ) ;
0 commit comments