Fix warning for unused variables in or pattern (issue #67691)#67766
Merged
bors merged 4 commits intorust-lang:masterfrom Apr 13, 2020
Merged
Fix warning for unused variables in or pattern (issue #67691)#67766bors merged 4 commits intorust-lang:masterfrom
bors merged 4 commits intorust-lang:masterfrom
Conversation
This comment has been minimized.
This comment has been minimized.
Centril
reviewed
Jan 1, 2020
Contributor
This comment has been minimized.
This comment has been minimized.
2ac7d33 to
b88baa1
Compare
Contributor
Author
|
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.
Contributor
Author
|
@joelpalmer I don't know what I should do about the multipart suggestions? |
Contributor
|
|
This comment has been minimized.
This comment has been minimized.
8d736dd to
3221638
Compare
Contributor
Author
|
@joelpalmer I did as @matthewjasper suggested regarding multipart_suggestions, so the tests pass now. Also I rebased to current master and fixed some conflicts. |
Contributor
|
@bors r+ |
Collaborator
|
📌 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.
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Apr 12, 2020
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
This comment has been minimized.
This comment has been minimized.
This was referenced Apr 13, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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?