Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/profile/src/lib.rs')
| -rw-r--r-- | crates/profile/src/lib.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/crates/profile/src/lib.rs b/crates/profile/src/lib.rs index 2ccb1cd06a..205341f162 100644 --- a/crates/profile/src/lib.rs +++ b/crates/profile/src/lib.rs @@ -1,7 +1,5 @@ //! A collection of tools for profiling rust-analyzer. -#![warn(rust_2018_idioms, unused_lifetimes)] - #[cfg(feature = "cpu_profiler")] mod google_cpu_profiler; mod memory_usage; @@ -14,13 +12,6 @@ pub use crate::{ stop_watch::{StopWatch, StopWatchSpan}, }; -pub use countme; -/// Include `_c: Count<Self>` field in important structs to count them. -/// -/// To view the counts, run with `RA_COUNT=1`. The overhead of disabled count is -/// almost zero. -pub use countme::Count; - thread_local!(static IN_SCOPE: RefCell<bool> = const { RefCell::new(false) }); /// A wrapper around google_cpu_profiler. |