@@ -121,28 +121,28 @@ impl<'tcx> rustc_type_ir::InferCtxtLike for InferCtxt<'tcx> {
121121 self . enter_forall ( value, f)
122122 }
123123
124- fn equate_ty_vids_raw ( & self , a : rustc_type_ir :: TyVid , b : rustc_type_ir :: TyVid ) {
124+ fn equate_ty_vids_raw ( & self , a : ty :: TyVid , b : ty :: TyVid ) {
125125 self . inner . borrow_mut ( ) . type_variables ( ) . equate ( a, b) ;
126126 }
127127
128- fn equate_int_vids_raw ( & self , a : rustc_type_ir :: IntVid , b : rustc_type_ir :: IntVid ) {
128+ fn equate_int_vids_raw ( & self , a : ty :: IntVid , b : ty :: IntVid ) {
129129 self . inner . borrow_mut ( ) . int_unification_table ( ) . union ( a, b) ;
130130 }
131131
132- fn equate_float_vids_raw ( & self , a : rustc_type_ir :: FloatVid , b : rustc_type_ir :: FloatVid ) {
132+ fn equate_float_vids_raw ( & self , a : ty :: FloatVid , b : ty :: FloatVid ) {
133133 self . inner . borrow_mut ( ) . float_unification_table ( ) . union ( a, b) ;
134134 }
135135
136- fn equate_const_vids_raw ( & self , a : rustc_type_ir :: ConstVid , b : rustc_type_ir :: ConstVid ) {
136+ fn equate_const_vids_raw ( & self , a : ty :: ConstVid , b : ty :: ConstVid ) {
137137 self . inner . borrow_mut ( ) . const_unification_table ( ) . union ( a, b) ;
138138 }
139139
140140 fn instantiate_ty_var_raw < R : PredicateEmittingRelation < Self > > (
141141 & self ,
142142 relation : & mut R ,
143143 target_is_expected : bool ,
144- target_vid : rustc_type_ir :: TyVid ,
145- instantiation_variance : rustc_type_ir :: Variance ,
144+ target_vid : ty :: TyVid ,
145+ instantiation_variance : ty :: Variance ,
146146 source_ty : Ty < ' tcx > ,
147147 ) -> RelateResult < ' tcx , ( ) > {
148148 self . instantiate_ty_var (
@@ -154,27 +154,19 @@ impl<'tcx> rustc_type_ir::InferCtxtLike for InferCtxt<'tcx> {
154154 )
155155 }
156156
157- fn instantiate_int_var_raw (
158- & self ,
159- vid : rustc_type_ir:: IntVid ,
160- value : rustc_type_ir:: IntVarValue ,
161- ) {
157+ fn instantiate_int_var_raw ( & self , vid : ty:: IntVid , value : ty:: IntVarValue ) {
162158 self . inner . borrow_mut ( ) . int_unification_table ( ) . union_value ( vid, value) ;
163159 }
164160
165- fn instantiate_float_var_raw (
166- & self ,
167- vid : rustc_type_ir:: FloatVid ,
168- value : rustc_type_ir:: FloatVarValue ,
169- ) {
161+ fn instantiate_float_var_raw ( & self , vid : ty:: FloatVid , value : ty:: FloatVarValue ) {
170162 self . inner . borrow_mut ( ) . float_unification_table ( ) . union_value ( vid, value) ;
171163 }
172164
173165 fn instantiate_const_var_raw < R : PredicateEmittingRelation < Self > > (
174166 & self ,
175167 relation : & mut R ,
176168 target_is_expected : bool ,
177- target_vid : rustc_type_ir :: ConstVid ,
169+ target_vid : ty :: ConstVid ,
178170 source_ct : ty:: Const < ' tcx > ,
179171 ) -> RelateResult < ' tcx , ( ) > {
180172 self . instantiate_const_var ( relation, target_is_expected, target_vid, source_ct)
0 commit comments