diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-08 11:15:17 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-08 11:15:17 +0000 |
commit | 6952a3b4460953bfc854be8ade2763dcfe70b650 (patch) | |
tree | 2dc0b8cc155318ca1b9f48de350ffc3beb5dd8b5 /crates/hir_ty/Cargo.toml | |
parent | 13982e4ee42293862646d022273692d65a362885 (diff) | |
parent | 128a6a4ec060a73fbd4e1a8dc470cb629fcdbe45 (diff) |
Merge #7912
7912: Dedupe import map results r=matklad a=SomeoneToIgnore
While debugging https://github.com/rust-analyzer/rust-analyzer/issues/7902, I've found that there are some duplicates are produced during the external dependencies lookup.
I've spotted at least some of the `indexed_value.value` duplicated when typed `Arc` and requested the completions for that, so I've also deduped the `IndexedValue`'s to avoid unnecessary computations.
This helps to show `Arc` in the completion suggestions in a zero dependency project and in `hir` module, but we loose it again in the `ide` module.
Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'crates/hir_ty/Cargo.toml')
0 files changed, 0 insertions, 0 deletions