Skip to content

Commit 5f6cb1c

Browse files
authored
[turbopack] Fix the build under --features=tokio_tracing (#81979)
## Fix the build under the `tokio_tracing` feature #80738 changed the definition of LocalTaskSpec and moved the Display trait impl down to LocalTaskType but updating this use was missed since it is guarded by a feature.
1 parent e9a5067 commit 5f6cb1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

turbopack/crates/turbo-tasks/src/manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ impl<B: Backend + 'static> TurboTasks<B> {
810810
let description = format!(
811811
"[local] (parent: {}) {}",
812812
self.backend.get_task_description(parent_task_id),
813-
ty,
813+
ty.task_type,
814814
);
815815
#[cfg(not(feature = "tokio_tracing"))]
816816
let _ = parent_task_id; // suppress unused variable warning

0 commit comments

Comments
 (0)