bors[bot] 3926f60cb5
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>
2021-05-24 16:38:15 +00:00
..
2021-05-24 15:13:23 +02:00
2021-05-24 15:35:46 +02:00
2021-05-22 17:20:22 +03:00
2021-05-24 15:34:52 +00:00
2021-05-24 16:31:54 +03:00
2021-05-23 21:55:51 +00:00
2021-05-23 21:55:51 +00:00
2021-05-22 17:20:22 +03:00
2021-05-22 17:20:22 +03:00
2021-05-24 18:18:05 +03:00
2021-05-22 16:53:47 +03:00
2021-05-24 18:18:05 +03:00
2021-05-24 16:39:19 +03:00
2021-05-22 16:53:47 +03:00