Skip to content
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 destruction extent lookup during HIR -> HAIR translation #44082

Merged
merged 2 commits into from
Aug 26, 2017

Conversation

pnkfelix
Copy link
Member

My method for finding the destruction extent, if any, from cbed41a (in #39409), was buggy in that it sometimes failed to find an extent that was nonetheless present.

This fixes that, and is cleaner code to boot.

Fix #43457

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@pnkfelix
Copy link
Member Author

(many thanks to @eddyb for pointing out the right way to go here!)

@eddyb
Copy link
Member

eddyb commented Aug 25, 2017

@bors r+

@bors
Copy link
Contributor

bors commented Aug 25, 2017

📌 Commit d1a15cd has been approved by eddyb

@shepmaster shepmaster added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Aug 25, 2017
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Aug 26, 2017
Fix destruction extent lookup during HIR -> HAIR translation

My method for finding the destruction extent, if any, from cbed41a (in rust-lang#39409), was buggy in that it sometimes failed to find an extent that was nonetheless present.

This fixes that, and is cleaner code to boot.

Fix rust-lang#43457
bors added a commit that referenced this pull request Aug 26, 2017
Fix destruction extent lookup during HIR -> HAIR translation

My method for finding the destruction extent, if any, from cbed41a (in #39409), was buggy in that it sometimes failed to find an extent that was nonetheless present.

This fixes that, and is cleaner code to boot.

Fix #43457
@bors
Copy link
Contributor

bors commented Aug 26, 2017

⌛ Testing commit d1a15cd with merge 315e702...

@bors
Copy link
Contributor

bors commented Aug 26, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: eddyb
Pushing 315e702 to master...

@bors bors merged commit d1a15cd into rust-lang:master Aug 26, 2017
@RalfJung
Copy link
Member

Thanks, I can confirm this fixes the issues I had in miri :)
rust-lang/miri#315

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No EndRegion emitted for DestructionScope
7 participants