mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 06:23:25 +00:00
fix: Fix proc-macro change check being inverted
This commit is contained in:
parent
40396b463e
commit
6f037da8cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue