diff options
| author | LegionMammal978 <mattlloydhouse@gmail.com> | 2021-12-13 21:52:35 -0500 |
|---|---|---|
| committer | LegionMammal978 <mattlloydhouse@gmail.com> | 2021-12-15 00:41:41 -0500 |
| commit | eaf39cbd9e37e705664dcf0e1ca1042913cf521a (patch) | |
| tree | b938c594b63c0ff4444968c81c590bc9b637c4c9 /compiler/rustc_codegen_ssa/src/debuginfo | |
| parent | d594910a2da12f158477b4c7281716f535cfa3de (diff) | |
| download | rust-eaf39cbd9e37e705664dcf0e1ca1042913cf521a.tar.gz rust-eaf39cbd9e37e705664dcf0e1ca1042913cf521a.zip | |
Remove `in_band_lifetimes` from `rustc_codegen_ssa`
See #91867 for more information.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/debuginfo')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs index ab119ae25f5..b03124769a0 100644 --- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs +++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs @@ -376,7 +376,7 @@ fn push_debuginfo_type_name<'tcx>( // format (natvis) is able to understand enums and render the active variant correctly in the // debugger. For more information, look in `src/etc/natvis/intrinsic.natvis` and // `EnumMemberDescriptionFactor::create_member_descriptions`. - fn msvc_enum_fallback( + fn msvc_enum_fallback<'tcx>( tcx: TyCtxt<'tcx>, ty: Ty<'tcx>, def: &AdtDef, @@ -496,7 +496,7 @@ pub fn compute_debuginfo_vtable_name<'tcx>( vtable_name } -pub fn push_item_name(tcx: TyCtxt<'tcx>, def_id: DefId, qualified: bool, output: &mut String) { +pub fn push_item_name(tcx: TyCtxt<'_>, def_id: DefId, qualified: bool, output: &mut String) { let def_key = tcx.def_key(def_id); if qualified { if let Some(parent) = def_key.parent { @@ -509,7 +509,7 @@ pub fn push_item_name(tcx: TyCtxt<'tcx>, def_id: DefId, qualified: bool, output: } fn push_unqualified_item_name( - tcx: TyCtxt<'tcx>, + tcx: TyCtxt<'_>, def_id: DefId, disambiguated_data: DisambiguatedDefPathData, output: &mut String, |
