diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-05-24 16:38:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-24 16:38:15 +0000 |
| commit | 3926f60cb525592400018b0afb0c0553dabfdb32 (patch) | |
| tree | f1c431236b05f3ecb8feb996260b5d664c19fca3 /editors/code/src/debug.ts | |
| parent | a59d41c1dfff1bcd34de880fddd3ca1f22e3f9e6 (diff) | |
| parent | 518d39cd2f1fde997b01acffe74e4a83fc906f86 (diff) | |
| download | rust-3926f60cb525592400018b0afb0c0553dabfdb32.tar.gz rust-3926f60cb525592400018b0afb0c0553dabfdb32.zip | |
Merge #8970
8970: fix: duplicate dependencies that have multiple DepKinds r=jonas-schievink a=jonas-schievink Cargo collapses identical dependencies that are listed under `[dependencies]` and `[build-dependencies]` into a single `NodeDep`. We have to undo that by duplicating the dependency for each of its listed `DepKind`s. Not doing that would incorrectly treat a dependency as `DepKind::Normal`, even though it is *also* meant to be a `DepKind::Build`. Fixes https://github.com/rust-analyzer/rust-analyzer/pull/8812#issuecomment-847125395 bors r+ Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Diffstat (limited to 'editors/code/src/debug.ts')
0 files changed, 0 insertions, 0 deletions
