mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
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:
commit
579797f0ec
1 changed files with 4 additions and 1 deletions
|
@ -254,7 +254,10 @@ impl ProjectWorkspace {
|
|||
match CargoWorkspace::fetch_metadata(
|
||||
&rustc_dir,
|
||||
cargo_toml.parent(),
|
||||
config,
|
||||
&CargoConfig {
|
||||
features: crate::CargoFeatures::default(),
|
||||
..config.clone()
|
||||
},
|
||||
progress,
|
||||
) {
|
||||
Ok(meta) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue