Remove #[macro_use] extern crate tracing
from rustc_monomorphize
.
This commit is contained in:
parent
7a5d814a04
commit
70e964afe3
5 changed files with 4 additions and 3 deletions
|
@ -236,6 +236,7 @@ use rustc_span::symbol::{sym, Ident};
|
|||
use rustc_span::{Span, DUMMY_SP};
|
||||
use rustc_target::abi::Size;
|
||||
use std::path::PathBuf;
|
||||
use tracing::{debug, instrument, trace};
|
||||
|
||||
use crate::errors::{
|
||||
self, EncounteredErrorWhileInstantiating, NoOptimizedMir, RecursionLimit, TypeLengthLimit,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
use rustc_session::lint::builtin::LARGE_ASSIGNMENTS;
|
||||
use tracing::debug;
|
||||
|
||||
use super::*;
|
||||
use crate::errors::LargeAssignmentsLint;
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
#![feature(is_sorted)]
|
||||
#![allow(rustc::potential_query_instability)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
use rustc_hir::lang_items::LangItem;
|
||||
use rustc_middle::bug;
|
||||
use rustc_middle::query::{Providers, TyCtxtAt};
|
||||
|
|
|
@ -116,6 +116,7 @@ use rustc_middle::ty::{self, visit::TypeVisitableExt, InstanceDef, TyCtxt};
|
|||
use rustc_session::config::{DumpMonoStatsFormat, SwitchWithOptPath};
|
||||
use rustc_session::CodegenUnits;
|
||||
use rustc_span::symbol::Symbol;
|
||||
use tracing::debug;
|
||||
|
||||
use crate::collector::UsageMap;
|
||||
use crate::collector::{self, MonoItemCollectionStrategy};
|
||||
|
|
|
@ -18,6 +18,7 @@ use rustc_middle::ty::{
|
|||
GenericArgsRef, Ty, TyCtxt, UnusedGenericParams,
|
||||
};
|
||||
use rustc_span::symbol::sym;
|
||||
use tracing::{debug, instrument};
|
||||
|
||||
use crate::errors::UnusedGenericParamsHint;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue