Skip to content

rustc_trans: do not set NoCapture for anonymous lifetime &T arguments. #45033

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 1 commit into from
Oct 9, 2017

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Oct 4, 2017

This was both unsound (due to lifetime elision & unsafe code) and dead code (we erase lifetimes).

r? @nikomatsakis

@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Oct 4, 2017

📌 Commit ac25a4a has been approved by nikomatsakis

@aidanhs aidanhs added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 5, 2017
@bors
Copy link
Collaborator

bors commented Oct 9, 2017

⌛ Testing commit ac25a4a with merge 97554e4...

bors added a commit that referenced this pull request Oct 9, 2017
rustc_trans: do not set NoCapture for anonymous lifetime &T arguments.

This was both unsound (due to lifetime elision & unsafe code) and dead code (we erase lifetimes).

r? @nikomatsakis
@bors
Copy link
Collaborator

bors commented Oct 9, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: nikomatsakis
Pushing 97554e4 to master...

@bors bors merged commit ac25a4a into rust-lang:master Oct 9, 2017
@eddyb eddyb deleted the capture-me-not branch October 9, 2017 07:47
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.

4 participants