diff options
| author | Stypox <stypox@pm.me> | 2025-06-11 12:22:20 +0200 |
|---|---|---|
| committer | Stypox <stypox@pm.me> | 2025-06-11 12:22:20 +0200 |
| commit | cd04717899c3266ca0f1a8af8829ff6187a2266c (patch) | |
| tree | 62c0879de1816cd1726b9352d9483505b1088dff | |
| parent | 2b0274c71dba0e24370ebf65593da450e2e91868 (diff) | |
| download | rust-cd04717899c3266ca0f1a8af8829ff6187a2266c.tar.gz rust-cd04717899c3266ca0f1a8af8829ff6187a2266c.zip | |
Fix enter_trace_span!() using wrong $crate paths
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/util.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/util.rs b/compiler/rustc_const_eval/src/interpret/util.rs index 83a17092619..99add01f95c 100644 --- a/compiler/rustc_const_eval/src/interpret/util.rs +++ b/compiler/rustc_const_eval/src/interpret/util.rs @@ -58,9 +58,9 @@ pub enum MaybeEnteredSpan { macro_rules! enter_trace_span { ($machine:ident, $($tt:tt)*) => { if $machine::TRACING_ENABLED { - $crate::interpret::tracing_utils::MaybeEnteredSpan::Some(tracing::info_span!($($tt)*).entered()) + $crate::interpret::util::MaybeEnteredSpan::Some(tracing::info_span!($($tt)*).entered()) } else { - $crate::interpret::tracing_utils::MaybeEnteredSpan::None + $crate::interpret::util::MaybeEnteredSpan::None } } } |
