Remove #[macro_use] extern crate tracing
from rustc_const_eval
.
This commit is contained in:
parent
c7da1a5bb8
commit
7a5d814a04
27 changed files with 29 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
use std::sync::atomic::Ordering::Relaxed;
|
||||
|
||||
use either::{Left, Right};
|
||||
use tracing::{debug, instrument, trace};
|
||||
|
||||
use rustc_hir::def::DefKind;
|
||||
use rustc_middle::bug;
|
||||
|
|
|
@ -21,6 +21,7 @@ use rustc_span::symbol::{sym, Symbol};
|
|||
use rustc_span::Span;
|
||||
use rustc_target::abi::{Align, Size};
|
||||
use rustc_target::spec::abi::Abi as CallAbi;
|
||||
use tracing::debug;
|
||||
|
||||
use crate::errors::{LongRunning, LongRunningWarn};
|
||||
use crate::fluent_generated as fluent;
|
||||
|
|
|
@ -6,6 +6,7 @@ use rustc_middle::mir::interpret::InterpErrorInfo;
|
|||
use rustc_middle::query::{Key, TyCtxtAt};
|
||||
use rustc_middle::ty::{self, Ty, TyCtxt};
|
||||
use rustc_target::abi::VariantIdx;
|
||||
use tracing::instrument;
|
||||
|
||||
use crate::interpret::{format_interp_error, InterpCx};
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ use rustc_middle::ty::layout::{LayoutCx, LayoutOf, TyAndLayout};
|
|||
use rustc_middle::ty::{self, ScalarInt, Ty, TyCtxt};
|
||||
use rustc_span::DUMMY_SP;
|
||||
use rustc_target::abi::{Abi, VariantIdx};
|
||||
use tracing::{debug, instrument, trace};
|
||||
|
||||
use super::eval_queries::{mk_eval_cx_to_read_const_val, op_to_const};
|
||||
use super::machine::CompileTimeEvalContext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue