More helpful error message for unsupported editions: display the required rust-version
#15305
Labels
A-manifest
Area: Cargo.toml issues
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-triage
Status: This issue is waiting on initial triage.
Problem
When cargo encounters an unsupported edition, the error message it displays isn't actionable, where the action in this case is to upgrade cargo/rustc to 1.85 or newer:
Proposed Solution
In the event an edition is unsupported, It would be more helpful if cargo printed the standard error for an out-of-date rust version by extracting
package.rust-version
when specified:Notes
No response
The text was updated successfully, but these errors were encountered: