Skip to content

Current nightly versions trigger unexpected_cfgs warning. #72

@sirno

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)].

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