Skip to content

Commit 6f037da

Browse files
committed
fix: Fix proc-macro change check being inverted
1 parent 40396b4 commit 6f037da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: crates/rust-analyzer/src/global_state.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ impl GlobalState {
227227
let crates = raw_database.relevant_crates(file.file_id);
228228
let crate_graph = raw_database.crate_graph();
229229

230-
crates.iter().any(|&krate| !crate_graph[krate].is_proc_macro)
230+
crates.iter().any(|&krate| crate_graph[krate].is_proc_macro)
231231
});
232232
true
233233
}

0 commit comments

Comments
 (0)