Skip to content

Commit 267d3c8

Browse files
committed
rustc_log: remove direct dep on tracing_core
required features reexported from tracing
1 parent 17b27d8 commit 267d3c8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4072,7 +4072,6 @@ name = "rustc_log"
40724072
version = "0.0.0"
40734073
dependencies = [
40744074
"tracing",
4075-
"tracing-core",
40764075
"tracing-subscriber",
40774076
"tracing-tree",
40784077
]

compiler/rustc_log/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ use std::fmt::{self, Display};
3838
use std::io::{self, IsTerminal};
3939

4040
use tracing::dispatcher::SetGlobalDefaultError;
41-
use tracing_core::{Event, Subscriber};
41+
use tracing::{Event, Subscriber};
4242
use tracing_subscriber::filter::{Directive, EnvFilter, LevelFilter};
4343
use tracing_subscriber::fmt::FmtContext;
4444
use tracing_subscriber::fmt::format::{self, FormatEvent, FormatFields};

0 commit comments

Comments
 (0)