@@ -70,7 +70,7 @@ struct AscribeUserTypeCx<'me, 'tcx> {
7070 fulfill_cx : & ' me mut dyn TraitEngine < ' tcx > ,
7171}
7272
73- impl AscribeUserTypeCx < ' me , ' tcx > {
73+ impl < ' me , ' tcx > AscribeUserTypeCx < ' me , ' tcx > {
7474 fn normalize < T > ( & mut self , value : T ) -> T
7575 where
7676 T : TypeFoldable < ' tcx > ,
@@ -195,7 +195,7 @@ fn type_op_eq<'tcx>(
195195 } )
196196}
197197
198- fn type_op_normalize < T > (
198+ fn type_op_normalize < ' tcx , T > (
199199 infcx : & InferCtxt < ' _ , ' tcx > ,
200200 fulfill_cx : & mut dyn TraitEngine < ' tcx > ,
201201 key : ParamEnvAnd < ' tcx , Normalize < T > > ,
@@ -210,28 +210,28 @@ where
210210 Ok ( value)
211211}
212212
213- fn type_op_normalize_ty (
213+ fn type_op_normalize_ty < ' tcx > (
214214 tcx : TyCtxt < ' tcx > ,
215215 canonicalized : Canonical < ' tcx , ParamEnvAnd < ' tcx , Normalize < Ty < ' tcx > > > > ,
216216) -> Result < & ' tcx Canonical < ' tcx , QueryResponse < ' tcx , Ty < ' tcx > > > , NoSolution > {
217217 tcx. infer_ctxt ( ) . enter_canonical_trait_query ( & canonicalized, type_op_normalize)
218218}
219219
220- fn type_op_normalize_predicate (
220+ fn type_op_normalize_predicate < ' tcx > (
221221 tcx : TyCtxt < ' tcx > ,
222222 canonicalized : Canonical < ' tcx , ParamEnvAnd < ' tcx , Normalize < Predicate < ' tcx > > > > ,
223223) -> Result < & ' tcx Canonical < ' tcx , QueryResponse < ' tcx , Predicate < ' tcx > > > , NoSolution > {
224224 tcx. infer_ctxt ( ) . enter_canonical_trait_query ( & canonicalized, type_op_normalize)
225225}
226226
227- fn type_op_normalize_fn_sig (
227+ fn type_op_normalize_fn_sig < ' tcx > (
228228 tcx : TyCtxt < ' tcx > ,
229229 canonicalized : Canonical < ' tcx , ParamEnvAnd < ' tcx , Normalize < FnSig < ' tcx > > > > ,
230230) -> Result < & ' tcx Canonical < ' tcx , QueryResponse < ' tcx , FnSig < ' tcx > > > , NoSolution > {
231231 tcx. infer_ctxt ( ) . enter_canonical_trait_query ( & canonicalized, type_op_normalize)
232232}
233233
234- fn type_op_normalize_poly_fn_sig (
234+ fn type_op_normalize_poly_fn_sig < ' tcx > (
235235 tcx : TyCtxt < ' tcx > ,
236236 canonicalized : Canonical < ' tcx , ParamEnvAnd < ' tcx , Normalize < PolyFnSig < ' tcx > > > > ,
237237) -> Result < & ' tcx Canonical < ' tcx , QueryResponse < ' tcx , PolyFnSig < ' tcx > > > , NoSolution > {
0 commit comments