Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--crates/rust-analyzer/src/global_state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/global_state.rs b/crates/rust-analyzer/src/global_state.rs
index 9fc3e30199..5118c9756c 100644
--- a/crates/rust-analyzer/src/global_state.rs
+++ b/crates/rust-analyzer/src/global_state.rs
@@ -227,7 +227,7 @@ impl GlobalState {
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
}