From 267d3c85088ebea128ef4b88435ceda937f306cd Mon Sep 17 00:00:00 2001 From: klensy Date: Thu, 4 Jul 2024 14:47:37 +0300 Subject: [PATCH] rustc_log: remove direct dep on tracing_core required features reexported from tracing --- Cargo.lock | 1 - compiler/rustc_log/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d9a09e5b2304..e5bae301d628 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 df648bbd4895..26475eec1c10 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};