-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fix: Some suggestions generated by the option_if_let_else lint did not compile #10337
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @flip1995 (or someone else) soon. Please see the contribution instructions for more information. |
☔ The latest upstream changes (presumably #10434) made this pull request unmergeable. Please resolve the merge conflicts. |
@flip1995 Did you have an opportunity to review this already? If you're busy, I can assign someone else to review this. |
Thanks for the patience @EliasHolzmann. I will assign this to myself and review this soon r? @dswij |
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.
This looks great. Thanks for opening the PR together with the issue
@bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Sure! Thank you for getting this merged! |
This addresses a bug in Clippy where the fix suggestend by the
option_if_let_else
lint would not compile forResult
s which have an impure expression in theelse
branch.changelog: [
option_if_let_else
]: Fixed incorrect suggestion forResult
s#10337
Fixes #10335.