Skip to content

Make __CARGO_FIX_YOLO=1 a command line flag #11361

Open

Description

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 name yolo 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions