You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I understand right now, to make clippy try to do all fixes, the environment flag __CARGO_FIX_YOLO=1 needs to be set. I was wondering, to increase ease of use, if it would be possible to turn this into a command line flag instead like --fix-yolo in order to make this discoverable by the CLI? Right now this feature of clippy can only be found on stackoverflow or other forums. It might also be worth replacing the name yolo to make it more accessible for people who don't live in an english-speaking culture, though it is quite funny.
See also rust-lang/cargo#13028, it's not intended for public use as I understand the situation. cargo fix would need to tolerate failures when applying non machine applicable suggestions, currently it will ask you to report a bug if any suggestion fails to apply
Description
Hello All,
From what I understand right now, to make clippy try to do all fixes, the environment flag
__CARGO_FIX_YOLO=1
needs to be set. I was wondering, to increase ease of use, if it would be possible to turn this into a command line flag instead like--fix-yolo
in order to make this discoverable by the CLI? Right now this feature of clippy can only be found on stackoverflow or other forums. It might also be worth replacing the nameyolo
to make it more accessible for people who don't live in an english-speaking culture, though it is quite funny.Version
No response
Additional Labels
@rustbot label +C-enhancement
The text was updated successfully, but these errors were encountered: