Skip to content

Cleanup trans for structs with base expr. #16511

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

Merged
merged 2 commits into from
Aug 15, 2014
Merged

Cleanup trans for structs with base expr. #16511

merged 2 commits into from
Aug 15, 2014

Conversation

luqmana
Copy link
Member

@luqmana luqmana commented Aug 15, 2014

Fixes #15397.
Fixes #7261.
Fixes #6573.

bors added a commit that referenced this pull request Aug 15, 2014
@bors bors closed this Aug 15, 2014
@bors bors merged commit 28882c4 into rust-lang:master Aug 15, 2014
@luqmana luqmana deleted the sbnt branch August 15, 2014 23:05
@pnkfelix
Copy link
Member

pnkfelix commented Mar 8, 2015

I suspect this may have injected #23112 though I have not yet 100% confirmed

@pnkfelix
Copy link
Member

pnkfelix commented Mar 8, 2015

In particular, it looks to me like this commit missed a crucial detail in the outline provided in #15397 : both strategies listed there maintain the evaluation order "fields first, then base", and the only issue is about which is initially put into scratch storage.

This commit is avoiding scratch entirely by following an evaluation order of "base first, then fields." Of course, this does not jibe with the evaluation order that the borrow checker expects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants