about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/write.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-23 21:36:54 +0000
committerbors <bors@rust-lang.org>2024-05-23 21:36:54 +0000
commit8679004993f08807289911d9f400f4ac4391d2bc (patch)
tree6c24ca4265de3a0f8f75814a0e865fdbf984cb43 /compiler/rustc_codegen_llvm/src/back/write.rs
parent5baee04b6349d176440cb1fcd5424a89f67b9f7b (diff)
parente9a59dbed8d41367d826803dbec11ed83ab0065e (diff)
downloadrust-8679004993f08807289911d9f400f4ac4391d2bc.tar.gz
rust-8679004993f08807289911d9f400f4ac4391d2bc.zip
Auto merge of #125434 - nnethercote:rm-more-extern-tracing, r=jackh726
Remove more `#[macro_use] extern crate tracing`

Because explicit importing of macros via use items is nicer (more standard and readable) than implicit importing via `#[macro_use]`. Continuing the work from #124511 and #124914.

r? `@jackh726`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/back/write.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs
index 49f9d7ddab6..97d2e1670e5 100644
--- a/compiler/rustc_codegen_llvm/src/back/write.rs
+++ b/compiler/rustc_codegen_llvm/src/back/write.rs
@@ -35,6 +35,7 @@ use rustc_session::Session;
 use rustc_span::symbol::sym;
 use rustc_span::InnerSpan;
 use rustc_target::spec::{CodeModel, RelocModel, SanitizerSet, SplitDebuginfo, TlsModel};
+use tracing::debug;
 
 use crate::llvm::diagnostic::OptimizationDiagnosticKind;
 use libc::{c_char, c_int, c_void, size_t};