[dependencies]
rustc_arena = { path = "../librustc_arena" }
-log = { package = "tracing", version = "0.1" }
+tracing = "0.1"
rustc_ast_pretty = { path = "../librustc_ast_pretty" }
rustc_hir = { path = "../librustc_hir" }
rustc_target = { path = "../librustc_target" }
use rustc_span::Span;
use rustc_target::spec::abi;
-use log::debug;
+use tracing::debug;
use smallvec::{smallvec, SmallVec};
use std::collections::BTreeSet;
use rustc_span::symbol::{kw, sym, Ident, Symbol};
use rustc_span::Span;
-use log::{debug, trace};
+use tracing::{debug, trace};
use smallvec::{smallvec, SmallVec};
use std::collections::BTreeMap;
use std::mem;
use rustc_span::symbol::Ident;
use rustc_span::Span;
-use log::debug;
+use tracing::debug;
use smallvec::smallvec;
impl<'a, 'hir> LoweringContext<'a, 'hir> {
[dependencies]
itertools = "0.8"
-log = { package = "tracing", version = "0.1" }
+tracing = "0.1"
rustc_ast_pretty = { path = "../librustc_ast_pretty" }
rustc_attr = { path = "../librustc_attr" }
rustc_data_structures = { path = "../librustc_data_structures" }
use rustc_span::symbol::{sym, Symbol};
use rustc_span::Span;
-use log::debug;
+use tracing::debug;
macro_rules! gate_feature_fn {
($cx: expr, $has_feature: expr, $span: expr, $name: expr, $explain: expr) => {{
doctest = false
[dependencies]
-log = { package = "tracing", version = "0.1" }
+tracing = "0.1"
rustc_span = { path = "../librustc_span" }
rustc_ast = { path = "../librustc_ast" }
rustc_target = { path = "../librustc_target" }
//! methods called `Printer::scan_*`, and the 'PRINT' process is the
//! method called `Printer::print`.
-use log::debug;
+use tracing::debug;
use std::borrow::Cow;
use std::collections::VecDeque;
use std::fmt;