cargo install foo=1.2.3
does not detect invalid character
#15318
Labels
C-bug
Category: bug
Command-add
Command-install
S-accepted
Status: Issue or feature is accepted, and has a team member available to help mentor or review
Problem
The
cargo add foo=1.2.3
says that=
is not a valid character for a crate name, butcargo install foo=1.2.3
tries to downloadfoo=1.2.3
crate. If it tries to detect the=
and==
and suggest using@
both incargo add
andcargo install
, it would be even better.Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: