-
Notifications
You must be signed in to change notification settings - Fork 426
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
rust-lang/rust#70814: code using quote generates false lint warnings for unused_braces in juniper::graphql_object #626
Comments
Looks like this is going to be fixed in clippy. |
More than a year later and still hasn't been fixed in clippy |
As a reference anyone landing here, add a linter allowance in the mod |
Cool, I'll wait for it to land as a release
Le ven. 3 sept. 2021 à 11:39, Kai Ren ***@***.***> a écrit :
… @Igosuki <https://github.com/Igosuki> this should be already resolved in
master due to using #[automatically_derived] attribute in #971
<#971>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#626 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADDFBQ2TNCIPE4BXQ4FGGDUACJTTANCNFSM4MLWTARQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I'm experiencing this on juniper 0.15.10. Any suggestions? (Other than the allow macro) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One liner function definitions causes a lint warning about unused braces. Removing said braces, creates invalid rust.
rust-lang/rust#70814
Minimum example
I expect no lint errors.
cargo 1.44.0-nightly (ebda5065e 2020-04-16)
The text was updated successfully, but these errors were encountered: