-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
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`Command-fixS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Description
In the same spirit as the following environment variable
Line 419 in dc83ead
let fix_mode = env::var_os("__CARGO_FIX_YOLO") |
cargo fix
could try first applying all suggestions and if it fails applying only the MachineApplicable
ones. This could be problematic depending on the codebase size due to compilation times, but may be it could be worked around by keeping rustc
statistics of prior runs and only do this if compile times are short "enough".
Qix- and sukhmel
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`Command-fixS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.