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 ice in redundant_locals
#11623
Fix ice in redundant_locals
#11623
Conversation
r? @llogiq (rustbot has picked a reviewer for you, use r? to override) |
☔ The latest upstream changes (presumably #11628) made this pull request unmergeable. Please resolve the merge conflicts. |
Thank you! @bors r+ |
🔒 Merge conflict This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again. How do I rebase?Assuming
You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial. Please avoid the "Resolve conflicts" button on GitHub. It uses Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Error message
|
@llogiq sorry, I've just rebased and resolve conflict. Could you check it again please? |
No need to be sorry, I had overlooked the conflict. Let's try again. @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Fixes #11619
Rebinding over macro like the code below, idents will be different (
x#4
andx#0
in that case).It causes unwrapping
None
.rust-clippy/clippy_lints/src/redundant_locals.rs
Lines 88 to 98 in 9554e47
changelog: ICE: [
redundant_locals
]: No longer lints rebinding over macro