-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 warning for unused variables in or pattern (issue #67691) #67766
Fix warning for unused variables in or pattern (issue #67691) #67766
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2ac7d33
to
b88baa1
Compare
Why aren't the |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
c9d7166
to
5f48ad5
Compare
This comment has been minimized.
This comment has been minimized.
5f48ad5
to
44489cf
Compare
This comment has been minimized.
This comment has been minimized.
44489cf
to
d43f3d6
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Ping from Triage: Any updates @sapir? |
This comment has been minimized.
This comment has been minimized.
@joelpalmer I don't know what I should do about the multipart suggestions? |
|
This comment has been minimized.
This comment has been minimized.
8d736dd
to
3221638
Compare
@joelpalmer I did as @matthewjasper suggested regarding multipart_suggestions, so the tests pass now. Also I rebased to current master and fixed some conflicts. |
@bors r+ |
📌 Commit 3221638 has been approved by |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Rollup of 4 pull requests Successful merges: - rust-lang#67766 (Fix warning for unused variables in or pattern (issue rust-lang#67691)) - rust-lang#71013 (Pass the `PlaceElem::Index` local to `visit_local`) - rust-lang#71064 (fix issue 69130) - rust-lang#71069 (Remove some usage of `DUMMY_HIR_ID`) Failed merges: r? @ghost
Is this a good way to fix it?
Also, the tests fail, the "fixed" code output says
{ i, j }
instead of{ i, j: _ }
, how can I fix that?