Skip to content

Commit 6961153

Browse files
authored
Unrolled build for #142356
Rollup merge of #142356 - Stypox:fix-enter_trace_span, r=RalfJung Fix enter_trace_span!() using wrong $crate paths This is a followup to #140972, where I made a silly mistake and forgot to update `$crate::interpret::tracing_utils::...` to `$crate::interpret::util::...` inside the macro after moving the referenced code from `tracing_utils.rs` to `util.rs`. Sorry about this. r? `@RalfJung`
2 parents e703dff + cd04717 commit 6961153

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)