cargo login should try detecting errors #4434
Labels
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
C-enhancement
Category: enhancement
Command-login
When using
cargo login
,cargo
asks forWhile the input is trimmed, there is more that can be done, for instance removing
cargo login
from beginning of token (if an entire command is pasted for some reason) and detecting things that definitely aren't tokens (too short or too long to be them, having invalid token characters and so on).The text was updated successfully, but these errors were encountered: