1
Fork 0

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

@ -20,6 +20,7 @@ use rustc_session::Session;
use rustc_span::symbol::{sym, Symbol};
use rustc_span::Span;
use thin_vec::ThinVec;
use tracing::instrument;
/// A folder that strips out items that do not belong in the current configuration.
pub struct StripUnconfigured<'a> {

View file

@ -16,9 +16,6 @@
#![allow(rustc::diagnostic_outside_of_impl)]
#![allow(internal_features)]
#[macro_use]
extern crate tracing;
extern crate proc_macro as pm;
mod placeholders;

View file

@ -14,6 +14,7 @@ use rustc_span::source_map::SourceMap;
use rustc_span::symbol::Ident;
use rustc_span::{ErrorGuaranteed, Span};
use std::borrow::Cow;
use tracing::debug;
use super::macro_rules::{parser_from_cx, NoopTracker};

View file

@ -29,6 +29,7 @@ use rustc_span::edition::Edition;
use rustc_span::hygiene::Transparency;
use rustc_span::symbol::{kw, sym, Ident, MacroRulesNormalizedIdent};
use rustc_span::Span;
use tracing::{debug, instrument, trace, trace_span};
use std::borrow::Cow;
use std::collections::hash_map::Entry;