From 6f037da8cb836fb82e910d62261f0fda33b4a5de Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sat, 16 Apr 2022 12:36:31 +0200 Subject: [PATCH] fix: Fix proc-macro change check being inverted --- crates/rust-analyzer/src/global_state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }