@@ -70,7 +70,7 @@ struct AscribeUserTypeCx<'me, 'tcx> {
70
70
fulfill_cx : & ' me mut dyn TraitEngine < ' tcx > ,
71
71
}
72
72
73
- impl AscribeUserTypeCx < ' me , ' tcx > {
73
+ impl < ' me , ' tcx > AscribeUserTypeCx < ' me , ' tcx > {
74
74
fn normalize < T > ( & mut self , value : T ) -> T
75
75
where
76
76
T : TypeFoldable < ' tcx > ,
@@ -195,7 +195,7 @@ fn type_op_eq<'tcx>(
195
195
} )
196
196
}
197
197
198
- fn type_op_normalize < T > (
198
+ fn type_op_normalize < ' tcx , T > (
199
199
infcx : & InferCtxt < ' _ , ' tcx > ,
200
200
fulfill_cx : & mut dyn TraitEngine < ' tcx > ,
201
201
key : ParamEnvAnd < ' tcx , Normalize < T > > ,
@@ -210,28 +210,28 @@ where
210
210
Ok ( value)
211
211
}
212
212
213
- fn type_op_normalize_ty (
213
+ fn type_op_normalize_ty < ' tcx > (
214
214
tcx : TyCtxt < ' tcx > ,
215
215
canonicalized : Canonical < ' tcx , ParamEnvAnd < ' tcx , Normalize < Ty < ' tcx > > > > ,
216
216
) -> Result < & ' tcx Canonical < ' tcx , QueryResponse < ' tcx , Ty < ' tcx > > > , NoSolution > {
217
217
tcx. infer_ctxt ( ) . enter_canonical_trait_query ( & canonicalized, type_op_normalize)
218
218
}
219
219
220
- fn type_op_normalize_predicate (
220
+ fn type_op_normalize_predicate < ' tcx > (
221
221
tcx : TyCtxt < ' tcx > ,
222
222
canonicalized : Canonical < ' tcx , ParamEnvAnd < ' tcx , Normalize < Predicate < ' tcx > > > > ,
223
223
) -> Result < & ' tcx Canonical < ' tcx , QueryResponse < ' tcx , Predicate < ' tcx > > > , NoSolution > {
224
224
tcx. infer_ctxt ( ) . enter_canonical_trait_query ( & canonicalized, type_op_normalize)
225
225
}
226
226
227
- fn type_op_normalize_fn_sig (
227
+ fn type_op_normalize_fn_sig < ' tcx > (
228
228
tcx : TyCtxt < ' tcx > ,
229
229
canonicalized : Canonical < ' tcx , ParamEnvAnd < ' tcx , Normalize < FnSig < ' tcx > > > > ,
230
230
) -> Result < & ' tcx Canonical < ' tcx , QueryResponse < ' tcx , FnSig < ' tcx > > > , NoSolution > {
231
231
tcx. infer_ctxt ( ) . enter_canonical_trait_query ( & canonicalized, type_op_normalize)
232
232
}
233
233
234
- fn type_op_normalize_poly_fn_sig (
234
+ fn type_op_normalize_poly_fn_sig < ' tcx > (
235
235
tcx : TyCtxt < ' tcx > ,
236
236
canonicalized : Canonical < ' tcx , ParamEnvAnd < ' tcx , Normalize < PolyFnSig < ' tcx > > > > ,
237
237
) -> Result < & ' tcx Canonical < ' tcx , QueryResponse < ' tcx , PolyFnSig < ' tcx > > > , NoSolution > {
0 commit comments