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

Current nightly versions trigger unexpected_cfgs warning. #72

Open
sirno opened this issue Dec 2, 2024 · 0 comments
Open

Current nightly versions trigger unexpected_cfgs warning. #72

sirno opened this issue Dec 2, 2024 · 0 comments

Comments

@sirno
Copy link
Contributor

sirno commented Dec 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant