@@ -8,8 +8,8 @@ use rustc_type_ir::solve::{
88 AliasBoundKind , CandidatePreferenceMode , CanonicalResponse , SizedTraitKind ,
99} ;
1010use rustc_type_ir:: {
11- self as ty, FieldInfo , Interner , Movability , PredicatePolarity , TraitPredicate , TraitRef ,
12- TypeVisitableExt as _, TypingMode , Unnormalized , Upcast as _, elaborate,
11+ self as ty, FieldInfo , Interner , Movability , PredicatePolarity , Region , TraitPredicate ,
12+ TraitRef , TypeVisitableExt as _, TypingMode , Unnormalized , Upcast as _, elaborate,
1313} ;
1414use tracing:: { debug, instrument, trace} ;
1515
@@ -942,9 +942,9 @@ where
942942 & mut self ,
943943 goal : Goal < I , ( I :: Ty , I :: Ty ) > ,
944944 a_data : I :: BoundExistentialPredicates ,
945- a_region : I :: Region ,
945+ a_region : Region < I > ,
946946 b_data : I :: BoundExistentialPredicates ,
947- b_region : I :: Region ,
947+ b_region : Region < I > ,
948948 ) -> Vec < Candidate < I > > {
949949 let cx = self . cx ( ) ;
950950 let Goal { predicate : ( a_ty, _b_ty) , .. } = goal;
@@ -990,7 +990,7 @@ where
990990 & mut self ,
991991 goal : Goal < I , ( I :: Ty , I :: Ty ) > ,
992992 b_data : I :: BoundExistentialPredicates ,
993- b_region : I :: Region ,
993+ b_region : Region < I > ,
994994 ) -> Result < Candidate < I > , NoSolution > {
995995 let cx = self . cx ( ) ;
996996 let Goal { predicate : ( a_ty, _) , .. } = goal;
@@ -1032,9 +1032,9 @@ where
10321032 goal : Goal < I , ( I :: Ty , I :: Ty ) > ,
10331033 source : CandidateSource < I > ,
10341034 a_data : I :: BoundExistentialPredicates ,
1035- a_region : I :: Region ,
1035+ a_region : Region < I > ,
10361036 b_data : I :: BoundExistentialPredicates ,
1037- b_region : I :: Region ,
1037+ b_region : Region < I > ,
10381038 upcast_principal : Option < ty:: Binder < I , ty:: ExistentialTraitRef < I > > > ,
10391039 ) -> Result < Candidate < I > , NoSolution > {
10401040 let param_env = goal. param_env ;
0 commit comments