@@ -148,7 +148,7 @@ fn clean_trait_ref_with_bindings(
148
148
path
149
149
}
150
150
151
- impl Clean < Path > for ty:: TraitRef < ' tcx > {
151
+ impl Clean < Path > for ty:: TraitRef < ' _ > {
152
152
fn clean ( & self , cx : & mut DocContext < ' _ > ) -> Path {
153
153
clean_trait_ref_with_bindings ( cx, * self , & [ ] )
154
154
}
@@ -549,7 +549,7 @@ impl Clean<Generics> for hir::Generics<'_> {
549
549
fn clean_ty_generics (
550
550
cx : & mut DocContext < ' _ > ,
551
551
gens : & ty:: Generics ,
552
- preds : ty:: GenericPredicates < ' tcx > ,
552
+ preds : ty:: GenericPredicates < ' _ > ,
553
553
) -> Generics {
554
554
// Don't populate `cx.impl_trait_bounds` before `clean`ning `where` clauses,
555
555
// since `Clean for ty::Predicate` would consume them.
@@ -579,7 +579,7 @@ fn clean_ty_generics(
579
579
. collect :: < Vec < GenericParamDef > > ( ) ;
580
580
581
581
// 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 ( ) ;
583
583
584
584
let where_predicates = preds
585
585
. predicates
@@ -708,8 +708,8 @@ fn clean_ty_generics(
708
708
709
709
fn clean_fn_or_proc_macro (
710
710
item : & hir:: Item < ' _ > ,
711
- sig : & ' a hir:: FnSig < ' a > ,
712
- generics : & ' a hir:: Generics < ' a > ,
711
+ sig : & hir:: FnSig < ' _ > ,
712
+ generics : & hir:: Generics < ' _ > ,
713
713
body_id : hir:: BodyId ,
714
714
name : & mut Symbol ,
715
715
cx : & mut DocContext < ' _ > ,
@@ -1387,7 +1387,7 @@ impl Clean<Type> for hir::Ty<'_> {
1387
1387
}
1388
1388
1389
1389
/// 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 > > {
1391
1391
// HACK: low-churn fix for #79459 while we wait for a trait normalization fix
1392
1392
if !cx. tcx . sess . opts . debugging_opts . normalize_docs {
1393
1393
return None ;
0 commit comments