]> git.lizzy.rs Git - rust.git/commitdiff
Replace from log to tracing in libsrustrustc_ast_lowering, librustc_ast_passes, libru...
authorbishtpawan <pawan.bisht@knoldus.com>
Sun, 2 Aug 2020 06:51:39 +0000 (12:21 +0530)
committerbishtpawan <pawan.bisht@knoldus.com>
Sun, 2 Aug 2020 06:51:39 +0000 (12:21 +0530)
src/librustc_ast_lowering/Cargo.toml
src/librustc_ast_lowering/item.rs
src/librustc_ast_lowering/lib.rs
src/librustc_ast_lowering/path.rs
src/librustc_ast_passes/Cargo.toml
src/librustc_ast_passes/feature_gate.rs
src/librustc_ast_pretty/Cargo.toml
src/librustc_ast_pretty/pp.rs

index 51f34a1b78e97753565327d42c69569aeb55982d..bf7e69a31abcba446d7238ff3e7c310ef7941332 100644 (file)
@@ -11,7 +11,7 @@ doctest = false
 
 [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" }
index dd5e658102facacbe5688df07b9427c7961a5c03..3e8565091e58cfaaf548cb04d120b64fd016c027 100644 (file)
@@ -17,7 +17,7 @@
 use rustc_span::Span;
 use rustc_target::spec::abi;
 
-use log::debug;
+use tracing::debug;
 use smallvec::{smallvec, SmallVec};
 use std::collections::BTreeSet;
 
index 1c70eef3bf5e32259b5387ab81c510498818792a..da36bd8581329bfcf306d098f78e1684ded43334 100644 (file)
@@ -64,7 +64,7 @@
 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;
index e5ce51f8d2d1f45152badd12dc5915d52fefd8dc..0e13ee7ed3933d7170c3bcb45991ea70152c00aa 100644 (file)
@@ -12,7 +12,7 @@
 use rustc_span::symbol::Ident;
 use rustc_span::Span;
 
-use log::debug;
+use tracing::debug;
 use smallvec::smallvec;
 
 impl<'a, 'hir> LoweringContext<'a, 'hir> {
index c53089a4afc5c03ab1dc969a8e1173bf0a0acf6f..6db9bce3164bb120579594334a151b12f55d220d 100644 (file)
@@ -10,7 +10,7 @@ path = "lib.rs"
 
 [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" }
index b424c8afb34717121efaf16fbbe025e3c33bb6c5..2fe208c3ce68caf5cb02d2f0aef4466496ec827f 100644 (file)
@@ -10,7 +10,7 @@
 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) => {{
index 4035346d35446aa916c2146780821781e9c1013b..d26205c791dc0f67c70d366de2c43ee301de57c5 100644 (file)
@@ -10,7 +10,7 @@ path = "lib.rs"
 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" }
index 4bb806a923e6cd7c6f2707a35f91ff39ef935271..9729c3ad48c861b430202d3f3404dfa4234ac0fc 100644 (file)
 //! 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;