Skip to content

adjust closure kind based on the guarantor's upvar note #45864

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

Conversation

nikomatsakis
Copy link
Contributor

Fixes #30046.

r? @eddyb

That encoding that the custom Debugs was using is rather inscrutable,
and incomplete.
This was causing upvar inference to fail for all cases where the move
was from a projection, not the root variable.
@eddyb
Copy link
Member

eddyb commented Nov 8, 2017

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 8, 2017

📌 Commit 629efae has been approved by eddyb

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

bors commented Nov 12, 2017

⌛ Testing commit 629efae with merge c1aacdc...

bors added a commit that referenced this pull request Nov 12, 2017
…ures, r=eddyb

adjust closure kind based on the guarantor's upvar note

Fixes #30046.

r? @eddyb
@bors
Copy link
Collaborator

bors commented Nov 12, 2017

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

@bors bors merged commit 629efae into rust-lang:master Nov 12, 2017
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