summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/diagnostics.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-10 13:46:24 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-05-10 15:34:41 +1000
commitd1f5beeed5d9ed2274006c1d93c0608111774b7c (patch)
tree899f5600a3b289aabfe149cc971c0f1932c2b5cc /compiler/rustc_resolve/src/diagnostics.rs
parent41aea279e57274ac4e241585bc295133e6e380b6 (diff)
downloadrust-d1f5beeed5d9ed2274006c1d93c0608111774b7c.tar.gz
rust-d1f5beeed5d9ed2274006c1d93c0608111774b7c.zip
Remove `#[macro_use] extern crate tracing` from `rustc_resolve`.
Explicit imports are more standard nowadays and easier to read.
Diffstat (limited to 'compiler/rustc_resolve/src/diagnostics.rs')
-rw-r--r--compiler/rustc_resolve/src/diagnostics.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs
index 01e279b6d04..a6b0902c09e 100644
--- a/compiler/rustc_resolve/src/diagnostics.rs
+++ b/compiler/rustc_resolve/src/diagnostics.rs
@@ -28,6 +28,7 @@ use rustc_span::source_map::SourceMap;
 use rustc_span::symbol::{kw, sym, Ident, Symbol};
 use rustc_span::{BytePos, Span, SyntaxContext};
 use thin_vec::{thin_vec, ThinVec};
+use tracing::debug;
 
 use crate::errors::{
     self, AddedMacroUse, ChangeImportBinding, ChangeImportBindingSuggestion, ConsiderAddingADerive,