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};
22
22
use rustc_span:: { Span , Symbol , DUMMY_SP } ;
23
23
use rustc_trait_selection:: traits:: object_safety_violations_for_assoc_item;
24
24
25
- impl < ' o , ' tcx > dyn HirTyLowerer < ' tcx > + ' o {
25
+ impl < ' tcx > dyn HirTyLowerer < ' tcx > + ' _ {
26
26
/// On missing type parameters, emit an E0393 error and provide a structured suggestion using
27
27
/// the type parameter's name as a placeholder.
28
28
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
8
8
9
9
use super :: HirTyLowerer ;
10
10
11
- impl < ' o , ' tcx > dyn HirTyLowerer < ' tcx > + ' o {
11
+ impl < ' tcx > dyn HirTyLowerer < ' tcx > + ' _ {
12
12
/// Make sure that we are in the condition to suggest the blanket implementation.
13
13
pub ( super ) fn maybe_lint_blanket_trait_impl < G : EmissionGuarantee > (
14
14
& self ,
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ pub trait GenericArgsLowerer<'a, 'tcx> {
241
241
) -> ty:: GenericArg < ' tcx > ;
242
242
}
243
243
244
- impl < ' o , ' tcx > dyn HirTyLowerer < ' tcx > + ' o {
244
+ impl < ' tcx > dyn HirTyLowerer < ' tcx > + ' _ {
245
245
/// Lower a lifetime from the HIR to our internal notion of a lifetime called a *region*.
246
246
#[ instrument( level = "debug" , skip( self ) , ret) ]
247
247
pub fn lower_lifetime (
@@ -413,7 +413,7 @@ impl<'o, 'tcx> dyn HirTyLowerer<'tcx> + 'o {
413
413
}
414
414
415
415
struct GenericArgsCtxt < ' a , ' tcx > {
416
- lowerer : & ' a ( dyn HirTyLowerer < ' tcx > + ' a ) ,
416
+ lowerer : & ' a dyn HirTyLowerer < ' tcx > ,
417
417
def_id : DefId ,
418
418
generic_args : & ' a GenericArgs < ' tcx > ,
419
419
span : Span ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use smallvec::{smallvec, SmallVec};
17
17
18
18
use super :: HirTyLowerer ;
19
19
20
- impl < ' o , ' tcx > dyn HirTyLowerer < ' tcx > + ' o {
20
+ impl < ' tcx > dyn HirTyLowerer < ' tcx > + ' _ {
21
21
/// Lower a trait object type from the HIR to our internal notion of a type.
22
22
#[ instrument( level = "debug" , skip_all, ret) ]
23
23
pub ( super ) fn lower_trait_object_ty (
You can’t perform that action at this time.
0 commit comments