diff options
| author | LegionMammal978 <mattlloydhouse@gmail.com> | 2021-12-14 13:49:49 -0500 | 
|---|---|---|
| committer | Matthew House <mattlloydhouse@gmail.com> | 2021-12-16 14:43:32 -0500 | 
| commit | 4937a55dfb19e804c3c974e5341b70dcd76192d4 (patch) | |
| tree | 7c3ace1e7b7211357898ebccd166d199d5a45103 /compiler/rustc_codegen_llvm/src/debuginfo/namespace.rs | |
| parent | 1d01550f7ea9fce1cf625128fefc73b9da3c1508 (diff) | |
| download | rust-4937a55dfb19e804c3c974e5341b70dcd76192d4.tar.gz rust-4937a55dfb19e804c3c974e5341b70dcd76192d4.zip | |
Remove `in_band_lifetimes` from `rustc_codegen_llvm`
See #91867 for more information.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo/namespace.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/namespace.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/namespace.rs b/compiler/rustc_codegen_llvm/src/debuginfo/namespace.rs index 1cbf5386996..d5ea48c311b 100644 --- a/compiler/rustc_codegen_llvm/src/debuginfo/namespace.rs +++ b/compiler/rustc_codegen_llvm/src/debuginfo/namespace.rs @@ -17,7 +17,7 @@ pub fn mangled_name_of_instance<'a, 'tcx>( tcx.symbol_name(instance) } -pub fn item_namespace(cx: &CodegenCx<'ll, '_>, def_id: DefId) -> &'ll DIScope { +pub fn item_namespace<'ll>(cx: &CodegenCx<'ll, '_>, def_id: DefId) -> &'ll DIScope { if let Some(&scope) = debug_context(cx).namespace_map.borrow().get(&def_id) { return scope; } | 
