-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Add an easier way of running rustc --explain #13888
Copy link
Copy link
Closed as not planned
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem
This errors with
E0425. It would be nice if cargo offered a way to explain the error in depth!You can of course copy and paste the command but it would be nicer to not have to.
Proposed Solution
You could run
cargo check --explainthat opens up the help page for the given error.Notes
No response