Remove #[macro_use] extern crate tracing
from rustc_metadata
.
This commit is contained in:
parent
70e964afe3
commit
d787fb062c
@ -27,6 +27,7 @@
|
||||
use rustc_span::symbol::{sym, Symbol};
|
||||
use rustc_span::{Span, DUMMY_SP};
|
||||
use rustc_target::spec::{PanicStrategy, Target, TargetTriple};
|
||||
use tracing::{debug, info, trace};
|
||||
|
||||
use proc_macro::bridge::client::ProcMacro;
|
||||
use std::error::Error;
|
||||
|
@ -65,6 +65,7 @@
|
||||
use rustc_session::config::CrateType;
|
||||
use rustc_session::cstore::CrateDepKind;
|
||||
use rustc_session::cstore::LinkagePreference::{self, RequireDynamic, RequireStatic};
|
||||
use tracing::info;
|
||||
|
||||
pub(crate) fn calculate(tcx: TyCtxt<'_>) -> Dependencies {
|
||||
tcx.crate_types()
|
||||
|
@ -20,9 +20,6 @@
|
||||
|
||||
extern crate proc_macro;
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
pub use rmeta::provide;
|
||||
|
||||
mod dependency_format;
|
||||
|
@ -231,6 +231,7 @@
|
||||
use rustc_span::symbol::Symbol;
|
||||
use rustc_span::Span;
|
||||
use rustc_target::spec::{Target, TargetTriple};
|
||||
use tracing::{debug, info};
|
||||
|
||||
use snap::read::FrameDecoder;
|
||||
use std::borrow::Cow;
|
||||
|
@ -28,6 +28,7 @@
|
||||
use rustc_session::Session;
|
||||
use rustc_span::symbol::kw;
|
||||
use rustc_span::{BytePos, Pos, SpanData, SpanDecoder, SyntaxContext, DUMMY_SP};
|
||||
use tracing::debug;
|
||||
|
||||
use proc_macro::bridge::client::ProcMacro;
|
||||
use std::iter::TrustedLen;
|
||||
|
@ -33,6 +33,7 @@
|
||||
use std::fs::File;
|
||||
use std::io::{Read, Seek, Write};
|
||||
use std::path::{Path, PathBuf};
|
||||
use tracing::{debug, instrument, trace};
|
||||
|
||||
pub(super) struct EncodeContext<'a, 'tcx> {
|
||||
opaque: opaque::FileEncoder,
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
use rustc_hir::def::CtorOf;
|
||||
use rustc_index::Idx;
|
||||
use tracing::trace;
|
||||
|
||||
pub(super) trait IsDefault: Default {
|
||||
fn is_default(&self) -> bool;
|
||||
|
Loading…
Reference in New Issue
Block a user