Skip to content

Commit cd04717

Browse files
committed
Fix enter_trace_span!() using wrong $crate paths
1 parent 2b0274c commit cd04717

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_const_eval/src/interpret

1 file changed

+2
-2
lines changed

compiler/rustc_const_eval/src/interpret/util.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ pub enum MaybeEnteredSpan {
5858
macro_rules! enter_trace_span {
5959
($machine:ident, $($tt:tt)*) => {
6060
if $machine::TRACING_ENABLED {
61-
$crate::interpret::tracing_utils::MaybeEnteredSpan::Some(tracing::info_span!($($tt)*).entered())
61+
$crate::interpret::util::MaybeEnteredSpan::Some(tracing::info_span!($($tt)*).entered())
6262
} else {
63-
$crate::interpret::tracing_utils::MaybeEnteredSpan::None
63+
$crate::interpret::util::MaybeEnteredSpan::None
6464
}
6565
}
6666
}

0 commit comments

Comments
 (0)