@@ -195,7 +195,7 @@ impl GenericParams {
195195 }
196196 }
197197
198- pub ( crate ) fn fill ( & mut self , lower_ctx : & LowerCtx , node : & dyn HasGenericParams ) {
198+ pub ( crate ) fn fill ( & mut self , lower_ctx : & LowerCtx < ' _ > , node : & dyn HasGenericParams ) {
199199 if let Some ( params) = node. generic_param_list ( ) {
200200 self . fill_params ( lower_ctx, params)
201201 }
@@ -206,7 +206,7 @@ impl GenericParams {
206206
207207 pub ( crate ) fn fill_bounds (
208208 & mut self ,
209- lower_ctx : & LowerCtx ,
209+ lower_ctx : & LowerCtx < ' _ > ,
210210 node : & dyn ast:: HasTypeBounds ,
211211 target : Either < TypeRef , LifetimeRef > ,
212212 ) {
@@ -217,7 +217,7 @@ impl GenericParams {
217217 }
218218 }
219219
220- fn fill_params ( & mut self , lower_ctx : & LowerCtx , params : ast:: GenericParamList ) {
220+ fn fill_params ( & mut self , lower_ctx : & LowerCtx < ' _ > , params : ast:: GenericParamList ) {
221221 for type_or_const_param in params. type_or_const_params ( ) {
222222 match type_or_const_param {
223223 ast:: TypeOrConstParam :: Type ( type_param) => {
@@ -259,7 +259,7 @@ impl GenericParams {
259259 }
260260 }
261261
262- fn fill_where_predicates ( & mut self , lower_ctx : & LowerCtx , where_clause : ast:: WhereClause ) {
262+ fn fill_where_predicates ( & mut self , lower_ctx : & LowerCtx < ' _ > , where_clause : ast:: WhereClause ) {
263263 for pred in where_clause. predicates ( ) {
264264 let target = if let Some ( type_ref) = pred. ty ( ) {
265265 Either :: Left ( TypeRef :: from_ast ( lower_ctx, type_ref) )
@@ -293,7 +293,7 @@ impl GenericParams {
293293
294294 fn add_where_predicate_from_bound (
295295 & mut self ,
296- lower_ctx : & LowerCtx ,
296+ lower_ctx : & LowerCtx < ' _ > ,
297297 bound : ast:: TypeBound ,
298298 hrtb_lifetimes : Option < & Box < [ Name ] > > ,
299299 target : Either < TypeRef , LifetimeRef > ,
0 commit comments