We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
state.process_changes()
1 parent 9bbac8a commit 243d25eCopy full SHA for 243d25e
crates/rust-analyzer/src/handlers/notification.rs
@@ -352,7 +352,8 @@ pub(crate) fn handle_run_flycheck(
352
pub(crate) fn run_unindexed_project(state: &mut GlobalState, uri: lsp_types::Url) {
353
let _p = profile::span("run_unindexed_project");
354
355
- if state.is_quiescent() && state.process_changes() {
+ if state.is_quiescent() {
356
+ tracing::debug!(processed_changes = state.process_changes());
357
let id = from_proto::file_id(&state.snapshot(), &uri).expect("Unable to get file ID");
358
if let Ok(crates) = state.snapshot().analysis.crates_for(id) {
359
if crates.is_empty() {
0 commit comments