Skip to content

Resolve type vars when inferring borrow kinds for upvars #21551

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

Closed
wants to merge 1 commit into from

Conversation

edwardw
Copy link
Contributor

@edwardw edwardw commented Jan 23, 2015

As part of #20432, upvar checking is now moved out of regionck to its
own pass and before regionck. But regionck has some type resolution of
its own. Without them, now separated upvar checking may be tripped over
by residue ty_infer.

Closes #21306

As part of rust-lang#20432, upvar checking is now moved out of regionck to its
own pass and before regionck. But regionck has some type resolution of
it own. Without them, now separated upvar checking may be tripped over
by residue `ty_infer`.

Closes rust-lang#21306
@eddyb
Copy link
Member

eddyb commented Jan 23, 2015

r? @nikomatsakis

@nikomatsakis
Copy link
Contributor

@bors: r+ 2f8d9a8

@edwardw
Copy link
Contributor Author

edwardw commented Jan 23, 2015

homu didn't pick up this PR. So close it and open a new one.

@edwardw edwardw closed this Jan 23, 2015
@edwardw edwardw deleted the deref-21306 branch January 23, 2015 19:23
@edwardw edwardw restored the deref-21306 branch January 23, 2015 19:41
@edwardw edwardw reopened this Jan 23, 2015
@alexcrichton
Copy link
Member

@bors: r+ 2f8d9a8

@edwardw edwardw closed this Jan 23, 2015
@edwardw edwardw deleted the deref-21306 branch January 23, 2015 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ICE: autoderef failed
4 participants