mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
internal: remove tracing/mod.rs
This commit is contained in:
parent
d923d620f2
commit
17d2e8d910
2 changed files with 7 additions and 2 deletions
|
@ -37,9 +37,14 @@ mod handlers {
|
||||||
pub(crate) mod request;
|
pub(crate) mod request;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub mod tracing {
|
||||||
|
pub mod config;
|
||||||
|
pub use config::Config;
|
||||||
|
pub mod hprof;
|
||||||
|
}
|
||||||
|
|
||||||
pub mod config;
|
pub mod config;
|
||||||
pub mod lsp;
|
pub mod lsp;
|
||||||
pub mod tracing;
|
|
||||||
use self::lsp::ext as lsp_ext;
|
use self::lsp::ext as lsp_ext;
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
|
@ -14,7 +14,7 @@ use tracing_subscriber::{
|
||||||
};
|
};
|
||||||
use tracing_tree::HierarchicalLayer;
|
use tracing_tree::HierarchicalLayer;
|
||||||
|
|
||||||
pub mod hprof;
|
use crate::tracing::hprof;
|
||||||
|
|
||||||
pub struct Config<T> {
|
pub struct Config<T> {
|
||||||
pub writer: T,
|
pub writer: T,
|
Loading…
Reference in a new issue