@@ -17,8 +17,8 @@ use rustc_lint::LateContext;
17
17
use rustc_middle:: mir:: interpret:: { ConstValue , Scalar } ;
18
18
use rustc_middle:: ty:: {
19
19
self , AdtDef , AliasTy , AssocKind , Binder , BoundRegion , DefIdTree , FnSig , IntTy , List , ParamEnv , Predicate ,
20
- PredicateKind , Region , RegionKind , SubstsRef , Ty , TyCtxt , TypeSuperVisitable , TypeVisitable , ir :: TypeVisitor , UintTy ,
21
- VariantDef , VariantDiscr ,
20
+ PredicateKind , Region , RegionKind , SubstsRef , Ty , TyCtxt , TypeSuperVisitable , TypeVisitable , TypeVisitor , UintTy ,
21
+ VariantDef , VariantDiscr , TypeVisitableExt ,
22
22
} ;
23
23
use rustc_middle:: ty:: { GenericArg , GenericArgKind } ;
24
24
use rustc_span:: symbol:: Ident ;
@@ -847,7 +847,7 @@ pub fn for_each_top_level_late_bound_region<B>(
847
847
ControlFlow :: Continue ( ( ) )
848
848
}
849
849
}
850
- fn visit_binder < T : TypeVisitable < ' tcx > > ( & mut self , t : & Binder < ' tcx , T > ) -> ControlFlow < Self :: BreakTy > {
850
+ fn visit_binder < T : TypeVisitable < TyCtxt < ' tcx > > > ( & mut self , t : & Binder < ' tcx , T > ) -> ControlFlow < Self :: BreakTy > {
851
851
self . index += 1 ;
852
852
let res = t. super_visit_with ( self ) ;
853
853
self . index -= 1 ;
0 commit comments