Skip to content

Commit fee58eb

Browse files
committed
Replace from log to tracing
1 parent 980edf5 commit fee58eb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/librustc_ast_lowering/item.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ use rustc_span::symbol::{kw, sym, Ident};
1717
use rustc_span::Span;
1818
use rustc_target::spec::abi;
1919

20-
use tracing::debug;
2120
use smallvec::{smallvec, SmallVec};
2221
use std::collections::BTreeSet;
22+
use tracing::debug;
2323

2424
pub(super) struct ItemLowerer<'a, 'lowering, 'hir> {
2525
pub(super) lctx: &'a mut LoweringContext<'lowering, 'hir>,

src/librustc_ast_lowering/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ use rustc_span::source_map::{respan, DesugaringKind, ExpnData, ExpnKind};
6464
use rustc_span::symbol::{kw, sym, Ident, Symbol};
6565
use rustc_span::Span;
6666

67-
use tracing::{debug, trace};
6867
use smallvec::{smallvec, SmallVec};
6968
use std::collections::BTreeMap;
7069
use std::mem;
70+
use tracing::{debug, trace};
7171

7272
macro_rules! arena_vec {
7373
($this:expr; $($x:expr),*) => ({

src/librustc_ast_lowering/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ use rustc_session::lint::BuiltinLintDiagnostics;
1212
use rustc_span::symbol::Ident;
1313
use rustc_span::Span;
1414

15-
use tracing::debug;
1615
use smallvec::smallvec;
16+
use tracing::debug;
1717

1818
impl<'a, 'hir> LoweringContext<'a, 'hir> {
1919
crate fn lower_qpath(

src/librustc_ast_pretty/pp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@
132132
//! methods called `Printer::scan_*`, and the 'PRINT' process is the
133133
//! method called `Printer::print`.
134134
135-
use tracing::debug;
136135
use std::borrow::Cow;
137136
use std::collections::VecDeque;
138137
use std::fmt;
138+
use tracing::debug;
139139

140140
/// How to break. Described in more detail in the module docs.
141141
#[derive(Clone, Copy, PartialEq)]

0 commit comments

Comments
 (0)