Always import all tracing macros for the entire crate instead of piecemeal by module

This commit is contained in:
Oli Scherer
2022-08-31 13:09:26 +00:00
parent d3b22c7267
commit ee3c835018
88 changed files with 76 additions and 119 deletions

View File

@@ -7,6 +7,9 @@
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]
#[macro_use]
extern crate tracing;
mod dump_visitor;
mod dumper;
#[macro_use]
@@ -49,8 +52,6 @@ use rls_data::{
RefKind, Relation, RelationKind, SpanData,
};
use tracing::{debug, error, info};
pub struct SaveContext<'tcx> {
tcx: TyCtxt<'tcx>,
maybe_typeck_results: Option<&'tcx ty::TypeckResults<'tcx>>,