Skip to content

rustc: don't mark lifetimes as early-bound in the presence of impl Trait. #46191

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
Nov 25, 2017

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Nov 22, 2017

This hack from the original implementation shouldn't be needed anymore, thanks to @cramertj.

r? @nikomatsakis

@nikomatsakis
Copy link
Contributor

r=me, assuming tests pass =)

Though .. we should check to be sure we have some tests targeting this case. I sorta think we do.

@cramertj
Copy link
Member

I think this test covers it.

@kennytm kennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 22, 2017
@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 22, 2017

📌 Commit fc658f2 has been approved by nikomatsakis

@kennytm kennytm added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 24, 2017
@bors
Copy link
Collaborator

bors commented Nov 25, 2017

⌛ Testing commit fc658f2 with merge 2f47a9e...

bors added a commit that referenced this pull request Nov 25, 2017
rustc: don't mark lifetimes as early-bound in the presence of impl Trait.

This hack from the original implementation shouldn't be needed anymore, thanks to @cramertj.

r? @nikomatsakis
@bors
Copy link
Collaborator

bors commented Nov 25, 2017

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

@bors bors merged commit fc658f2 into rust-lang:master Nov 25, 2017
@eddyb eddyb deleted the better-late-than-never branch November 25, 2017 17:17
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.

5 participants