about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/inline
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-08-28 15:03:14 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-08-30 10:01:34 +1000
commited5161c5ac239d14c8bc638e3673550f48882a23 (patch)
treee12cc3d4f8f628dada0126b0efc5c59a3b9aab6b /compiler/rustc_mir_transform/src/inline
parent0d634185dfddefe09047881175f35c65d68dcff1 (diff)
downloadrust-ed5161c5ac239d14c8bc638e3673550f48882a23.tar.gz
rust-ed5161c5ac239d14c8bc638e3673550f48882a23.zip
Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.
Diffstat (limited to 'compiler/rustc_mir_transform/src/inline')
-rw-r--r--compiler/rustc_mir_transform/src/inline/cycle.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir_transform/src/inline/cycle.rs b/compiler/rustc_mir_transform/src/inline/cycle.rs
index c65cc993b19..9828e90de88 100644
--- a/compiler/rustc_mir_transform/src/inline/cycle.rs
+++ b/compiler/rustc_mir_transform/src/inline/cycle.rs
@@ -5,6 +5,7 @@ use rustc_middle::mir::TerminatorKind;
 use rustc_middle::ty::{self, GenericArgsRef, InstanceKind, TyCtxt, TypeVisitableExt};
 use rustc_session::Limit;
 use rustc_span::sym;
+use tracing::{instrument, trace};
 
 // FIXME: check whether it is cheaper to precompute the entire call graph instead of invoking
 // this query ridiculously often.