mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
fix: Fix metadata retrying eating original errors
This commit is contained in:
parent
2025b43653
commit
191949eabe
9 changed files with 60 additions and 52 deletions
|
@ -34,6 +34,7 @@ fn load_cargo_with_overrides(
|
|||
build_scripts: WorkspaceBuildScripts::default(),
|
||||
rustc: Err(None),
|
||||
cargo_config_extra_env: Default::default(),
|
||||
error: None,
|
||||
},
|
||||
cfg_overrides,
|
||||
sysroot: Sysroot::empty(),
|
||||
|
@ -58,6 +59,7 @@ fn load_cargo_with_fake_sysroot(
|
|||
build_scripts: WorkspaceBuildScripts::default(),
|
||||
rustc: Err(None),
|
||||
cargo_config_extra_env: Default::default(),
|
||||
error: None,
|
||||
},
|
||||
sysroot: get_fake_sysroot(),
|
||||
rustc_cfg: Vec::new(),
|
||||
|
@ -294,6 +296,7 @@ fn smoke_test_real_sysroot_cargo() {
|
|||
build_scripts: WorkspaceBuildScripts::default(),
|
||||
rustc: Err(None),
|
||||
cargo_config_extra_env: Default::default(),
|
||||
error: None,
|
||||
},
|
||||
sysroot,
|
||||
rustc_cfg: Vec::new(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue