about summary refs log tree commit diff
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2024-07-04 14:47:37 +0300
committerklensy <klensy@users.noreply.github.com>2025-09-04 13:25:11 +0300
commit267d3c85088ebea128ef4b88435ceda937f306cd (patch)
tree24fd52d1f7be9b9e39c2f485033a48b174ef2473
parent17b27d8e6c7ecce909d3b0bd072378c7a0854d78 (diff)
downloadrust-267d3c85088ebea128ef4b88435ceda937f306cd.tar.gz
rust-267d3c85088ebea128ef4b88435ceda937f306cd.zip
rustc_log: remove direct dep on tracing_core
required features reexported from tracing
-rw-r--r--Cargo.lock1
-rw-r--r--compiler/rustc_log/src/lib.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index d9a09e5b230..e5bae301d62 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4072,7 +4072,6 @@ name = "rustc_log"
 version = "0.0.0"
 dependencies = [
  "tracing",
- "tracing-core",
  "tracing-subscriber",
  "tracing-tree",
 ]
diff --git a/compiler/rustc_log/src/lib.rs b/compiler/rustc_log/src/lib.rs
index df648bbd489..26475eec1c1 100644
--- a/compiler/rustc_log/src/lib.rs
+++ b/compiler/rustc_log/src/lib.rs
@@ -38,7 +38,7 @@ use std::fmt::{self, Display};
 use std::io::{self, IsTerminal};
 
 use tracing::dispatcher::SetGlobalDefaultError;
-use tracing_core::{Event, Subscriber};
+use tracing::{Event, Subscriber};
 use tracing_subscriber::filter::{Directive, EnvFilter, LevelFilter};
 use tracing_subscriber::fmt::FmtContext;
 use tracing_subscriber::fmt::format::{self, FormatEvent, FormatFields};