-
Notifications
You must be signed in to change notification settings - Fork 30
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: fix on nightly toolchain #334
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix 👍
In CI, was getting:
I realized I pulled the latest version from my |
Heh, and 1.71 is still in beta. Bumped it further down to 1.70. Also I realized we have the same fixed version for the |
Add -A unknown-lints for required clippy version.
Now that version 1.70.0 is running for the "required" clippy, I get this:
In the latest revision, I turn on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the latest revision, I turn on -A unknown-lints for the required clippy (1.70.0) only. This allows unrecognized lints in the older clippy; but they will trigger an advisory error in the newer clippy (even though it won't block merging).
Sounds like a reasonable workaround. Thanks for chasing this down.
Right now on the nightly toolchain, clippy gives an error. This doesn't block merges because we mark the nightly clippy check as optional, and only require the clippy check for a specified toolchain version.
I've filed #333 to address the error. In this PR I disable that particular clippy lint and bump the required toolchain version to 1.73.0.