Auto merge of #14357 - Veykril:rustc-priv, r=Veykril

fix: Don't pass feature flags to rustc private crates metadata invocation

Fixes https://github.com/rust-lang/rust-analyzer/issues/14327

Better error reporting I'll do in a follow up
This commit is contained in:
bors 2023-03-15 10:00:23 +00:00
commit 579797f0ec

View File

@ -254,7 +254,10 @@ pub fn load(
match CargoWorkspace::fetch_metadata(
&rustc_dir,
cargo_toml.parent(),
config,
&CargoConfig {
features: crate::CargoFeatures::default(),
..config.clone()
},
progress,
) {
Ok(meta) => {