We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tracing/mod.rs
1 parent d923d62 commit 17d2e8dCopy full SHA for 17d2e8d
crates/rust-analyzer/src/lib.rs
@@ -37,9 +37,14 @@ mod handlers {
37
pub(crate) mod request;
38
}
39
40
+pub mod tracing {
41
+ pub mod config;
42
+ pub use config::Config;
43
+ pub mod hprof;
44
+}
45
+
46
pub mod config;
47
pub mod lsp;
-pub mod tracing;
48
use self::lsp::ext as lsp_ext;
49
50
#[cfg(test)]
crates/rust-analyzer/src/tracing/mod.rs renamed to crates/rust-analyzer/src/tracing/config.rs
@@ -14,7 +14,7 @@ use tracing_subscriber::{
14
};
15
use tracing_tree::HierarchicalLayer;
16
17
-pub mod hprof;
+use crate::tracing::hprof;
18
19
pub struct Config<T> {
20
pub writer: T,
0 commit comments