Skip to content

Current nightly versions trigger unexpected_cfgs warning. #72

Description

@sirno

There has been a change in newer compiler versions causing unexpected_cfgs to be reported in derive macros (rust-lang/rust#132577).

The warning is triggered here:

#[cfg_attr(feature = "cargo-clippy", allow(useless_attribute))]

cargo clippy is about to remove its feature setting behavior as posted in https://blog.rust-lang.org/2024/02/28/Clippy-deprecating-feature-cargo-clippy.html

I suppose the line can simply be replaced with #[allow(clippy:useless_attribute)].

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions