@@ -148,7 +148,7 @@ fn clean_trait_ref_with_bindings(
148148 path
149149}
150150
151- impl Clean < Path > for ty:: TraitRef < ' tcx > {
151+ impl Clean < Path > for ty:: TraitRef < ' _ > {
152152 fn clean ( & self , cx : & mut DocContext < ' _ > ) -> Path {
153153 clean_trait_ref_with_bindings ( cx, * self , & [ ] )
154154 }
@@ -549,7 +549,7 @@ impl Clean<Generics> for hir::Generics<'_> {
549549fn clean_ty_generics (
550550 cx : & mut DocContext < ' _ > ,
551551 gens : & ty:: Generics ,
552- preds : ty:: GenericPredicates < ' tcx > ,
552+ preds : ty:: GenericPredicates < ' _ > ,
553553) -> Generics {
554554 // Don't populate `cx.impl_trait_bounds` before `clean`ning `where` clauses,
555555 // since `Clean for ty::Predicate` would consume them.
@@ -579,7 +579,7 @@ fn clean_ty_generics(
579579 . collect :: < Vec < GenericParamDef > > ( ) ;
580580
581581 // param index -> [(DefId of trait, associated type name, type)]
582- let mut impl_trait_proj = FxHashMap :: < u32 , Vec < ( DefId , Symbol , Ty < ' tcx > ) > > :: default ( ) ;
582+ let mut impl_trait_proj = FxHashMap :: < u32 , Vec < ( DefId , Symbol , Ty < ' _ > ) > > :: default ( ) ;
583583
584584 let where_predicates = preds
585585 . predicates
@@ -708,8 +708,8 @@ fn clean_ty_generics(
708708
709709fn clean_fn_or_proc_macro (
710710 item : & hir:: Item < ' _ > ,
711- sig : & ' a hir:: FnSig < ' a > ,
712- generics : & ' a hir:: Generics < ' a > ,
711+ sig : & hir:: FnSig < ' _ > ,
712+ generics : & hir:: Generics < ' _ > ,
713713 body_id : hir:: BodyId ,
714714 name : & mut Symbol ,
715715 cx : & mut DocContext < ' _ > ,
@@ -1387,7 +1387,7 @@ impl Clean<Type> for hir::Ty<'_> {
13871387}
13881388
13891389/// Returns `None` if the type could not be normalized
1390- fn normalize ( cx : & mut DocContext < ' tcx > , ty : Ty < ' _ > ) -> Option < Ty < ' tcx > > {
1390+ fn normalize < ' tcx > ( cx : & mut DocContext < ' tcx > , ty : Ty < ' _ > ) -> Option < Ty < ' tcx > > {
13911391 // HACK: low-churn fix for #79459 while we wait for a trait normalization fix
13921392 if !cx. tcx . sess . opts . debugging_opts . normalize_docs {
13931393 return None ;
0 commit comments