Skip to content

Commit 74cbc20

Browse files
committed
Auto merge of rust-lang#12008 - Veykril:patch-1, r=Veykril
fix: Fix proc-macro change check being inverted
2 parents 40396b4 + 6f037da commit 74cbc20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/global_state.rs

Lines changed: 1 addition & 1 deletion
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)