diff options
| author | bors <bors@rust-lang.org> | 2025-02-18 04:26:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-02-18 04:26:30 +0000 |
| commit | aaa861493456e8a10e552dd208f85486de772007 (patch) | |
| tree | 1d0a87efba6dcbd2965ed32f05d25f4950363883 /compiler/rustc_codegen_llvm | |
| parent | de91711756133f11f7861dd099c001eaff0aafaa (diff) | |
| parent | fd7b4bf4e19b19ebf9b536790ec1668a3e50fe6f (diff) | |
| download | rust-aaa861493456e8a10e552dd208f85486de772007.tar.gz rust-aaa861493456e8a10e552dd208f85486de772007.zip | |
Auto merge of #137162 - nnethercote:remove-Map-2, r=Zalathar
Move methods from `Map` to `TyCtxt`, part 2. Continuing the work started in #136466. Every method gains a `hir_` prefix, though for the ones that already have a `par_` or `try_par_` prefix I added the `hir_` after that. r? Zalathar
Diffstat (limited to 'compiler/rustc_codegen_llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs b/compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs index 54c5d445f66..4ffe551df09 100644 --- a/compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs +++ b/compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs @@ -87,7 +87,7 @@ pub(crate) fn get_or_insert_gdb_debug_scripts_section_global<'ll>( pub(crate) fn needs_gdb_debug_scripts_section(cx: &CodegenCx<'_, '_>) -> bool { let omit_gdb_pretty_printer_section = - attr::contains_name(cx.tcx.hir().krate_attrs(), sym::omit_gdb_pretty_printer_section); + attr::contains_name(cx.tcx.hir_krate_attrs(), sym::omit_gdb_pretty_printer_section); // To ensure the section `__rustc_debug_gdb_scripts_section__` will not create // ODR violations at link time, this section will not be emitted for rlibs since |
