cargo install
suggests an unrelated package
#9422
Labels
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
C-bug
Category: bug
Command-install
E-easy
Experience: Easy
Problem
When I ask Cargo to install cargo-edit from git, it says that I'm being ambiguous and suggests the
two
crate as an alternative.I downloaded the
two
crate and glanced through it... I don't see any reason for Cargo to suggest it.Steps
cargo install --git=https://github.com/killercup/cargo-edit --features vendored-openssl
cargo-edit, two
It's true that explicitly stating
cargo-edit
succeeds:cargo install cargo-edit --git=https://github.com/killercup/cargo-edit --features vendored-openssl
But, why did Cargo suggest the
two
crate?Notes
Output of
cargo version
: cargo 1.51.0 (43b129a 2021-03-16)The text was updated successfully, but these errors were encountered: