diff --git a/crates/rust-analyzer/src/global_state.rs b/crates/rust-analyzer/src/global_state.rs index 9fc3e301991..5118c9756cc 100644 --- a/crates/rust-analyzer/src/global_state.rs +++ b/crates/rust-analyzer/src/global_state.rs @@ -227,7 +227,7 @@ pub(crate) fn process_changes(&mut self) -> bool { let crates = raw_database.relevant_crates(file.file_id); let crate_graph = raw_database.crate_graph(); - crates.iter().any(|&krate| !crate_graph[krate].is_proc_macro) + crates.iter().any(|&krate| crate_graph[krate].is_proc_macro) }); true }