Open
Description
When running cargo install foo
, if my rust version is too old, I'll get compilation errors. If the failing crate sets rust-version
, then I'll get a nice error message about it but no path forward for fixing it. #10891 adds a path forward for cargo install
when the failure is in a dependency but not when its in the crate itself that is being installed.
Ideally, cargo install
will select an older version (with a warning) that is compatible with my toolchain. As a step back from the ideal, I'd get an error with corrective steps (ideally, telling me what version to use).