We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8316ffe + e4aa09f commit 0f370b0Copy full SHA for 0f370b0
crates/rust-analyzer/src/main_loop.rs
@@ -10,7 +10,7 @@ use std::{
10
11
use always_assert::always;
12
use crossbeam_channel::{Receiver, select};
13
-use ide_db::base_db::{SourceDatabase, VfsPath};
+use ide_db::base_db::{SourceDatabase, VfsPath, salsa::Database as _};
14
use lsp_server::{Connection, Notification, Request};
15
use lsp_types::{TextDocumentIdentifier, notification::Notification as _};
16
use stdx::thread::ThreadIntent;
@@ -364,6 +364,7 @@ impl GlobalState {
364
fraction = 1.0;
365
title = "Indexing";
366
367
+ self.analysis_host.raw_database_mut().trigger_lru_eviction();
368
self.prime_caches_queue.op_completed(());
369
if cancelled {
370
self.prime_caches_queue
0 commit comments