Always import all tracing macros for the entire crate instead of piecemeal by module
This commit is contained in:
parent
d3b22c7267
commit
ee3c835018
88 changed files with 76 additions and 119 deletions
|
@ -44,8 +44,6 @@ use rls_data::{
|
|||
RefKind, Relation, RelationKind, SpanData,
|
||||
};
|
||||
|
||||
use tracing::{debug, error};
|
||||
|
||||
#[rustfmt::skip] // https://github.com/rust-lang/rustfmt/issues/5213
|
||||
macro_rules! down_cast_data {
|
||||
($id:ident, $kind:ident, $sp:expr) => {
|
||||
|
|
|
@ -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>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue