@@ -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,
@@ -345,9 +345,9 @@ impl<'tcx> Visitor<'tcx> for CollectItemTypesVisitor<'tcx> {
345
345
self . tcx . ensure ( ) . generics_of ( def_id) ;
346
346
self . tcx . ensure ( ) . predicates_of ( def_id) ;
347
347
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) ;
349
349
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) ;
351
351
if self . tcx . is_conditionally_const ( def_id) {
352
352
self . tcx . ensure ( ) . explicit_implied_const_bounds ( def_id) ;
353
353
self . tcx . ensure ( ) . const_conditions ( def_id) ;
@@ -839,7 +839,7 @@ fn lower_trait_item(tcx: TyCtxt<'_>, trait_item_id: hir::TraitItemId) {
839
839
840
840
hir:: TraitItemKind :: Type ( _, Some ( _) ) => {
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
tcx. ensure ( ) . type_of ( def_id) ;
844
844
// Account for `type T = _;`.
845
845
let mut visitor = HirPlaceholderCollector :: default ( ) ;
@@ -856,7 +856,7 @@ fn lower_trait_item(tcx: TyCtxt<'_>, trait_item_id: hir::TraitItemId) {
856
856
857
857
hir:: TraitItemKind :: Type ( _, None ) => {
858
858
tcx. ensure ( ) . item_bounds ( def_id) ;
859
- tcx. ensure ( ) . item_super_predicates ( def_id) ;
859
+ tcx. ensure ( ) . item_self_bounds ( def_id) ;
860
860
// #74612: Visit and try to find bad placeholders
861
861
// even if there is no concrete type.
862
862
let mut visitor = HirPlaceholderCollector :: default ( ) ;
0 commit comments