about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/consts.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/consts.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/consts.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/consts.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/consts.rs b/compiler/rustc_codegen_llvm/src/consts.rs
index 9e85c2d88f9..a2314f4850c 100644
--- a/compiler/rustc_codegen_llvm/src/consts.rs
+++ b/compiler/rustc_codegen_llvm/src/consts.rs
@@ -25,6 +25,7 @@ use rustc_target::abi::{
     Align, AlignFromBytesError, HasDataLayout, Primitive, Scalar, Size, WrappingRange,
 };
 use std::ops::Range;
+use tracing::{debug, instrument, trace};
 
 pub fn const_alloc_to_llvm<'ll>(
     cx: &CodegenCx<'ll, '_>,