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

test MIR validation statements in closures #43650

Merged
merged 2 commits into from
Aug 11, 2017
Merged

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Aug 5, 2017

@arielb1
Copy link
Contributor

arielb1 commented Aug 8, 2017

r? @arielb1

@arielb1 arielb1 added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 8, 2017
@arielb1 arielb1 assigned arielb1 and unassigned nikomatsakis Aug 8, 2017
// StorageDead(_5);
// EndRegion(ReScope(Misc(NodeId(44))));
// Validate(Release, [_0: bool, _4: *mut i32]);
// _0 = const write_42(_4) -> bb1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like UB. If that is intentional, please add a comment.

@arielb1
Copy link
Contributor

arielb1 commented Aug 8, 2017

@bors r+

@bors
Copy link
Contributor

bors commented Aug 8, 2017

📌 Commit 21a707e has been approved by arielb1

@arielb1
Copy link
Contributor

arielb1 commented Aug 8, 2017

@bors rollup

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Aug 11, 2017
bors added a commit that referenced this pull request Aug 11, 2017
MaloJaffre added a commit to MaloJaffre/rust that referenced this pull request Aug 11, 2017
@bors bors merged commit 21a707e into rust-lang:master Aug 11, 2017
@RalfJung RalfJung deleted the mir-validate branch July 10, 2018 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants