886eaa0a7d
Partially fixes #15656 . When a crate graph is extended which is the case when new workspaces are added to the project the rules for deduplication were too strict. One problem that arises from this is that in certain conditions when we see the same crate having different `CrateOrigin`s the first form would be maintained. This approach however results in some unwanted results such as making renaming forbidden as this has been recently only made available for local crates. The given example in #15656 can still not be resolved with this PR as that involves taking inconsistencies between dependencies into consideration. This will be addressed in a future PR. |
||
---|---|---|
.. | ||
cargo_hello_world_project_model_with_selective_overrides.txt | ||
cargo_hello_world_project_model_with_wildcard_overrides.txt | ||
cargo_hello_world_project_model.txt | ||
rust_project_hello_world_project_model.txt |