Remove extern crate tracing from numerous crates.

This commit is contained in:
Nicholas Nethercote 2024-04-29 16:24:06 +10:00
parent 52e9a23bdc
commit 6341935a13
47 changed files with 47 additions and 70 deletions

View file

@ -15,6 +15,7 @@ use std::hash::Hash;
use std::marker::PhantomData;
use std::sync::atomic::Ordering;
use std::sync::Arc;
use tracing::{debug, instrument};
use super::query::DepGraphQuery;
use super::serialized::{GraphEncoder, SerializedDepGraph, SerializedDepNodeIndex};

View file

@ -11,13 +11,12 @@ pub use graph::{hash_result, DepGraph, DepNodeIndex, TaskDepsRef, WorkProduct, W
pub use query::DepGraphQuery;
pub use serialized::{SerializedDepGraph, SerializedDepNodeIndex};
use self::graph::{print_markframe_trace, MarkFrame};
use crate::ich::StableHashingContext;
use rustc_data_structures::profiling::SelfProfilerRef;
use rustc_session::Session;
use std::panic;
use self::graph::{print_markframe_trace, MarkFrame};
use tracing::instrument;
pub trait DepContext: Copy {
type Deps: Deps;

View file

@ -51,6 +51,7 @@ use rustc_serialize::{Decodable, Decoder, Encodable, Encoder};
use std::iter;
use std::marker::PhantomData;
use std::sync::Arc;
use tracing::{debug, instrument};
// The maximum value of `SerializedDepNodeIndex` leaves the upper two bits
// unused so that we can store multiple index types in `CompressedHybridIndex`,