-
Notifications
You must be signed in to change notification settings - Fork 162
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 incorrectly suggests rewriting an if-let-else #303
Comments
nicholasbishop
added a commit
to nicholasbishop/uefi-rs
that referenced
this issue
Oct 25, 2021
Clippy says this code can be rewritten with a `?`, but the suggested change is not valid. Tracked in rust-osdev#303 to revert this change once clippy is fixed.
nicholasbishop
added a commit
to nicholasbishop/uefi-rs
that referenced
this issue
Oct 25, 2021
Clippy says this code can be rewritten with a `?`, but the suggested change is not valid. Tracked in rust-osdev#303 to revert this change once clippy is fixed.
nicholasbishop
added a commit
that referenced
this issue
Oct 25, 2021
Clippy says this code can be rewritten with a `?`, but the suggested change is not valid. Tracked in #303 to revert this change once clippy is fixed.
Latest nightly is still failing the same way, so filed a new issue for it: rust-lang/rust-clippy#7910 |
nicholasbishop
added a commit
to nicholasbishop/uefi-rs
that referenced
this issue
Nov 20, 2021
This reverts commit cba22cc. Fixes rust-osdev#303
This was referenced Nov 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CI is currently failing with a clippy error:
Initially I thought, "neat, I didn't know
?
works with pointer types". Turns out it doesn't, clippy is just wrong. I'm assuming this is the same issue as reported in rust-lang/rust-clippy#7859, which currently has a PR up for review. I think for now we can disable clippy on the block of code, and leave this issue open to revert the change once clippy is fixed. And if that PR doesn't fix it, we should open a new clippy issue.The text was updated successfully, but these errors were encountered: