Uh oh!
There was an error while loading. Please reload this page.
[WIP] Rollup of three NLL PR's - #54532
Closed
pnkfelix wants to merge 19 commits into
Closed
Conversation
This allows treating the "fake" match borrows differently from shared borrows.
As we are now creating borrows of places that may not be valid for borrow checking matches, these have to be removed to avoid generating broken code.
This name better reflects the asymmetry of this function.
When dropping a self-borrowing struct we shouldn't add a "values in a scope are dropped in the opposite order they are defined" message, since there is only one value being dropped.
Previously, we would split the drop access into multiple checks for each field of a struct/tuple/closure and through `Box` dereferences. This changes this to check if the borrow is accessed by the drop in places_conflict. This also allows us to handle enums in a simpler way, since we don't have to construct any new places.
… test this PR. DO NOT LAND WITH THIS COMMIT.
rust-highfive
commented
Sep 24, 2018
Contributor
r? @davidtwco (rust_highfive has picked a reviewer for you, use r? to override) |
pnkfelix
commented
Sep 24, 2018
ContributorAuthor
(marking as [WIP] while I run test bulids atop specific targets like WASM, as demonstrated in cd69fb0.) |
rust-highfive
commented
Sep 24, 2018
Contributor
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
bors
commented
Sep 24, 2018
Collaborator
☔ The latest upstream changes (presumably #54509) made this pull request unmergeable. Please resolve the merge conflicts. |
pnkfelix
commented
Sep 25, 2018
ContributorAuthor
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 freeto 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.
Rollup of PRs:
(Includes a couple updates to get them workings as follow-on commits.)