fix: Fix block local impl trait solving regressions

This commit is contained in:
Lukas Wirth 2023-04-06 10:28:34 +02:00
parent 236576227a
commit 1c16e4ee97
4 changed files with 100 additions and 11 deletions

View file

@ -447,7 +447,7 @@ impl GlobalState {
let mut proc_macros = Vec::default();
for ws in &**self.workspaces {
let (other, mut crate_proc_macros) =
ws.to_crate_graph(&mut load, &self.config.cargo().extra_env);
ws.to_crate_graph(&mut load, &self.config.extra_env());
crate_graph.extend(other, &mut crate_proc_macros);
proc_macros.push(crate_proc_macros);
}