Auto merge of #12008 - Veykril:patch-1, r=Veykril
fix: Fix proc-macro change check being inverted
This commit is contained in:
@@ -227,7 +227,7 @@ impl GlobalState {
|
|||||||
let crates = raw_database.relevant_crates(file.file_id);
|
let crates = raw_database.relevant_crates(file.file_id);
|
||||||
let crate_graph = raw_database.crate_graph();
|
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
|
true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user