@@ -121,28 +121,28 @@ impl<'tcx> rustc_type_ir::InferCtxtLike for InferCtxt<'tcx> {
121
121
self . enter_forall ( value, f)
122
122
}
123
123
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 ) {
125
125
self . inner . borrow_mut ( ) . type_variables ( ) . equate ( a, b) ;
126
126
}
127
127
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 ) {
129
129
self . inner . borrow_mut ( ) . int_unification_table ( ) . union ( a, b) ;
130
130
}
131
131
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 ) {
133
133
self . inner . borrow_mut ( ) . float_unification_table ( ) . union ( a, b) ;
134
134
}
135
135
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 ) {
137
137
self . inner . borrow_mut ( ) . const_unification_table ( ) . union ( a, b) ;
138
138
}
139
139
140
140
fn instantiate_ty_var_raw < R : PredicateEmittingRelation < Self > > (
141
141
& self ,
142
142
relation : & mut R ,
143
143
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 ,
146
146
source_ty : Ty < ' tcx > ,
147
147
) -> RelateResult < ' tcx , ( ) > {
148
148
self . instantiate_ty_var (
@@ -154,27 +154,19 @@ impl<'tcx> rustc_type_ir::InferCtxtLike for InferCtxt<'tcx> {
154
154
)
155
155
}
156
156
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 ) {
162
158
self . inner . borrow_mut ( ) . int_unification_table ( ) . union_value ( vid, value) ;
163
159
}
164
160
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 ) {
170
162
self . inner . borrow_mut ( ) . float_unification_table ( ) . union_value ( vid, value) ;
171
163
}
172
164
173
165
fn instantiate_const_var_raw < R : PredicateEmittingRelation < Self > > (
174
166
& self ,
175
167
relation : & mut R ,
176
168
target_is_expected : bool ,
177
- target_vid : rustc_type_ir :: ConstVid ,
169
+ target_vid : ty :: ConstVid ,
178
170
source_ct : ty:: Const < ' tcx > ,
179
171
) -> RelateResult < ' tcx , ( ) > {
180
172
self . instantiate_const_var ( relation, target_is_expected, target_vid, source_ct)
0 commit comments