diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2023-03-02 12:55:41 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2023-03-02 12:55:41 +0100 |
| commit | 88f2abb8f7a4bb838352d07e58bf41020045931a (patch) | |
| tree | 9fbbd5198e175993621eb2e26e402d95500d64c5 | |
| parent | 32424d0aba3f9e20576aff0a1c89e01ac3ad8b62 (diff) | |
| download | rust-88f2abb8f7a4bb838352d07e58bf41020045931a.tar.gz rust-88f2abb8f7a4bb838352d07e58bf41020045931a.zip | |
Don't drop rustc crates in the rustc workspace
| -rw-r--r-- | crates/project-model/src/workspace.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/project-model/src/workspace.rs b/crates/project-model/src/workspace.rs index 45cb8961961..691c9a275d9 100644 --- a/crates/project-model/src/workspace.rs +++ b/crates/project-model/src/workspace.rs @@ -249,10 +249,6 @@ impl ProjectWorkspace { }; let rustc = match rustc_dir { - Some(rustc_dir) if rustc_dir == cargo_toml => { - tracing::info!(rustc_dir = %rustc_dir.display(), "Workspace is the rustc workspace itself, not adding the rustc workspace separately"); - None - } Some(rustc_dir) => { tracing::info!(workspace = %cargo_toml.display(), rustc_dir = %rustc_dir.display(), "Using rustc source"); match CargoWorkspace::fetch_metadata( |
