-
Notifications
You must be signed in to change notification settings - Fork 221
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
Consider using #![allow(clippy)] at top of generated files #89
Comments
How dire are the warnings? Would it be feasible to instead enhance If not, then |
They're not too bad: Lots of these
and these:
And these:
|
There are also a few:
|
I suspect we would need to increase our minimum required |
Yeah, looks like that was added in 1.17. still, should block the lint with a comment why it's being blocked. |
i'm still getting a bunch of warnings, mostly is the plan still to fix individual instances of this instead of ignoring lints in the generated files? |
Thanks for the report. Does this fix it? 9405636 |
yup, that seems to have done it. thank you! |
Pushed 0.13.1 just now: https://crates.io/crates/capnpc |
Clippy is giving a lot of warnings in the generated rust files. Using #![allow(clippy)] will disable clippy according to rust-lang/rust-clippy#702
The text was updated successfully, but these errors were encountered: