aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/lib.rs b/crates/rust-analyzer/src/lib.rs
index ad08f1afb..b82deaf0d 100644
--- a/crates/rust-analyzer/src/lib.rs
+++ b/crates/rust-analyzer/src/lib.rs
@@ -88,6 +88,7 @@ fn print_memory_usage(mut host: AnalysisHost, vfs: Vfs) {
88 mem.push(("Remaining".into(), profile::memory_usage().allocated)); 88 mem.push(("Remaining".into(), profile::memory_usage().allocated));
89 89
90 for (name, bytes) in mem { 90 for (name, bytes) in mem {
91 eprintln!("{:>8} {}", bytes, name); 91 // NOTE: Not a debug print, so avoid going through the `eprintln` defined above.
92 std::eprintln!("{:>8} {}", bytes, name);
92 } 93 }
93} 94}