diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-02 08:39:46 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-02 08:39:46 +0100 |
commit | 2883b299a7282b548fab389e43f1c45c0e51548a (patch) | |
tree | 4ab674eb68eb7e7ce6afb9e0d87529b8818bdfa0 /crates/ra_text_edit/src/lib.rs | |
parent | f0ba01cd43489f0029e90fa7857c88b4e31f9996 (diff) | |
parent | f643b4b5f5a6b6ba3970c17e1395bbfd025b3e99 (diff) |
Merge #3819
3819: Unique package by name and version. r=matklad a=o0Ignition0o
This commit is a fixup of #3781 I introduced a bug by using a PackageId to refer to a crate when its name conflicts with a dependency.
It turns out the package id currently is `name version path` while cargo expects `name:version` as argument eg:
Cargo command with a `PackageId`:
```
> Executing task: cargo test --package 'config 0.1.0 (path+file:///Users/ignition/Projects/oss/config)' --test default -- test_with_name --exact --nocapture <
```
Cargo command with `name:version`:
```
> Executing task: cargo test --package 'config:0.1.0' --test default -- test_with_name --exact --nocapture <
```
Co-authored-by: o0Ignition0o <[email protected]>
Diffstat (limited to 'crates/ra_text_edit/src/lib.rs')
0 files changed, 0 insertions, 0 deletions