Remove #[macro_use] extern crate tracing from rustc_lint.

This commit is contained in:
Nicholas Nethercote
2024-05-22 14:09:17 +10:00
parent c4bdd298fe
commit c7da1a5bb8
11 changed files with 10 additions and 6 deletions

View File

@@ -26,6 +26,7 @@ use rustc_session::lint::{BufferedEarlyLint, LintBuffer, LintPass};
use rustc_session::Session;
use rustc_span::symbol::Ident;
use rustc_span::Span;
use tracing::debug;
macro_rules! lint_callback { ($cx:expr, $f:ident, $($args:expr),*) => ({
$cx.pass.$f(&$cx.context, $($args),*);