rustc_mir: insert a dummy access to places being matched on, when building MIR.#48092
Merged
bors merged 2 commits intorust-lang:masterfrom Feb 11, 2018
Merged
rustc_mir: insert a dummy access to places being matched on, when building MIR.#48092bors merged 2 commits intorust-lang:masterfrom
bors merged 2 commits intorust-lang:masterfrom
Conversation
4282b4c to
8af134e
Compare
nikomatsakis
approved these changes
Feb 9, 2018
Contributor
Collaborator
|
📌 Commit 8af134e has been approved by |
Contributor
|
@bors p=1 -- high priority fix |
Member
|
@bors p=5 |
Collaborator
|
⌛ Testing commit 8af134e with merge 36a3cf12bfedf203399976f6cebf562ffc0fbb64... |
Collaborator
|
💔 Test failed - status-travis |
Member
Author
|
@bors retry
|
Collaborator
|
⌛ Testing commit 8af134e with merge 8d9854a2a81f0cfec44c3e9990fef05b568ca9fc... |
Collaborator
|
💔 Test failed - status-appveyor |
Member
Author
|
@bors retry
|
Collaborator
|
⌛ Testing commit 8af134e with merge 89dca1522d45966ebf00973c98530bb726e9e24e... |
Collaborator
|
💔 Test failed - status-appveyor |
Member
Author
Collaborator
bors
added a commit
that referenced
this pull request
Feb 11, 2018
rustc_mir: insert a dummy access to places being matched on, when building MIR. Fixes #47412 by adding a `_dummy = Discriminant(place)` before each `match place {...}`. r? @nikomatsakis
Collaborator
|
☀️ Test successful - status-appveyor, status-travis |
Member
Author
|
@nikomatsakis We should figure out the backporting situation ASAP. |
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.
Fixes #47412 by adding a
_dummy = Discriminant(place)before eachmatch place {...}.r? @nikomatsakis