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
clippy::duplicated_attributes warning with rust 1.79.0-nightly #238
Comments
asomers
added a commit
to asomers/bfffs
that referenced
this issue
Apr 5, 2024
The latest nightly toolchains report this lint for rstest's generated code. la10736/rstest#238
It seems more a bug in clippy. As far I can understand seems they designed this check to handle duplication in |
Seams an open problem in clippy rust-lang/rust-clippy#12537 |
Tested against |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the latest Rust compiler, Clippy reports duplicated_attributes warnings from any rstest test function that has two Option arguments, if there is a test case that sets at least one of those arguments to
None
.Reproduction Example
Compiler output:
Compiler version
The text was updated successfully, but these errors were encountered: