File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
compiler/rustc_hir_analysis/src/hir_ty_lowering Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ use rustc_span::symbol::{sym, Ident};
2222use rustc_span:: { Span , Symbol , DUMMY_SP } ;
2323use rustc_trait_selection:: traits:: object_safety_violations_for_assoc_item;
2424
25- impl < ' o , ' tcx > dyn HirTyLowerer < ' tcx > + ' o {
25+ impl < ' tcx > dyn HirTyLowerer < ' tcx > + ' _ {
2626 /// On missing type parameters, emit an E0393 error and provide a structured suggestion using
2727 /// the type parameter's name as a placeholder.
2828 pub ( crate ) fn complain_about_missing_type_params (
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use rustc_trait_selection::traits::error_reporting::suggestions::NextTypeParamNa
88
99use super :: HirTyLowerer ;
1010
11- impl < ' o , ' tcx > dyn HirTyLowerer < ' tcx > + ' o {
11+ impl < ' tcx > dyn HirTyLowerer < ' tcx > + ' _ {
1212 /// Make sure that we are in the condition to suggest the blanket implementation.
1313 pub ( super ) fn maybe_lint_blanket_trait_impl < G : EmissionGuarantee > (
1414 & self ,
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ pub trait GenericArgsLowerer<'a, 'tcx> {
241241 ) -> ty:: GenericArg < ' tcx > ;
242242}
243243
244- impl < ' o , ' tcx > dyn HirTyLowerer < ' tcx > + ' o {
244+ impl < ' tcx > dyn HirTyLowerer < ' tcx > + ' _ {
245245 /// Lower a lifetime from the HIR to our internal notion of a lifetime called a *region*.
246246 #[ instrument( level = "debug" , skip( self ) , ret) ]
247247 pub fn lower_lifetime (
@@ -413,7 +413,7 @@ impl<'o, 'tcx> dyn HirTyLowerer<'tcx> + 'o {
413413 }
414414
415415 struct GenericArgsCtxt < ' a , ' tcx > {
416- lowerer : & ' a ( dyn HirTyLowerer < ' tcx > + ' a ) ,
416+ lowerer : & ' a dyn HirTyLowerer < ' tcx > ,
417417 def_id : DefId ,
418418 generic_args : & ' a GenericArgs < ' tcx > ,
419419 span : Span ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use smallvec::{smallvec, SmallVec};
1717
1818use super :: HirTyLowerer ;
1919
20- impl < ' o , ' tcx > dyn HirTyLowerer < ' tcx > + ' o {
20+ impl < ' tcx > dyn HirTyLowerer < ' tcx > + ' _ {
2121 /// Lower a trait object type from the HIR to our internal notion of a type.
2222 #[ instrument( level = "debug" , skip_all, ret) ]
2323 pub ( super ) fn lower_trait_object_ty (
You can’t perform that action at this time.
0 commit comments