Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove strict linting from generated code #4858

Merged
merged 1 commit into from Apr 25, 2023

Commits on Apr 25, 2023

  1. fix: Remove strict linting from generated code

    The `#[deny(correctness)]` attribute is inside some generated code (such
    as the `Subcommand` derive macro). As of Rust 1.69.0, this is triggering
    a clippy error in some uses. Due to the placement of the `deny`, it is
    not possible for a user of clap to override it.
    
    This change removes all the instances of this `deny` attribute. The same
    was done on the `master` branch in clap-rs#4739.
    
    Fixes: clap-rs#4857
    hds committed Apr 25, 2023
    Copy the full SHA
    f14f398 View commit details
    Browse the repository at this point in the history