@@ -65,9 +65,9 @@ pub fn provide(providers: &mut Providers) {
65
65
type_alias_is_lazy : type_of:: type_alias_is_lazy,
66
66
item_bounds : item_bounds:: item_bounds,
67
67
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 ,
71
71
impl_super_outlives : item_bounds:: impl_super_outlives,
72
72
generics_of : generics_of:: generics_of,
73
73
predicates_of : predicates_of:: predicates_of,
@@ -328,9 +328,9 @@ impl<'tcx> Visitor<'tcx> for CollectItemTypesVisitor<'tcx> {
328
328
self . tcx . ensure ( ) . generics_of ( def_id) ;
329
329
self . tcx . ensure ( ) . predicates_of ( def_id) ;
330
330
self . tcx . ensure ( ) . explicit_item_bounds ( def_id) ;
331
- self . tcx . ensure ( ) . explicit_item_super_predicates ( def_id) ;
331
+ self . tcx . ensure ( ) . explicit_item_self_bounds ( def_id) ;
332
332
self . tcx . ensure ( ) . item_bounds ( def_id) ;
333
- self . tcx . ensure ( ) . item_super_predicates ( def_id) ;
333
+ self . tcx . ensure ( ) . item_self_bounds ( def_id) ;
334
334
if self . tcx . is_conditionally_const ( def_id) {
335
335
self . tcx . ensure ( ) . explicit_implied_const_bounds ( def_id) ;
336
336
self . tcx . ensure ( ) . const_conditions ( def_id) ;
@@ -822,7 +822,7 @@ fn lower_trait_item(tcx: TyCtxt<'_>, trait_item_id: hir::TraitItemId) {
822
822
823
823
hir:: TraitItemKind :: Type ( _, Some ( _) ) => {
824
824
tcx. ensure ( ) . item_bounds ( def_id) ;
825
- tcx. ensure ( ) . item_super_predicates ( def_id) ;
825
+ tcx. ensure ( ) . item_self_bounds ( def_id) ;
826
826
tcx. ensure ( ) . type_of ( def_id) ;
827
827
// Account for `type T = _;`.
828
828
let mut visitor = HirPlaceholderCollector :: default ( ) ;
@@ -839,7 +839,7 @@ fn lower_trait_item(tcx: TyCtxt<'_>, trait_item_id: hir::TraitItemId) {
839
839
840
840
hir:: TraitItemKind :: Type ( _, None ) => {
841
841
tcx. ensure ( ) . item_bounds ( def_id) ;
842
- tcx. ensure ( ) . item_super_predicates ( def_id) ;
842
+ tcx. ensure ( ) . item_self_bounds ( def_id) ;
843
843
// #74612: Visit and try to find bad placeholders
844
844
// even if there is no concrete type.
845
845
let mut visitor = HirPlaceholderCollector :: default ( ) ;
0 commit comments