Skip to content

Link regions in ref bindings from fn arguments. #19456

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
Dec 9, 2014

Conversation

nikomatsakis
Copy link
Contributor

Otherwise region inference can fail when closure arguments include ref bindings. Test case included in the PR.

@nikomatsakis
Copy link
Contributor Author

I might have some more commits coming here, I think I found another similar inference failure.

@nikomatsakis
Copy link
Contributor Author

Never mind, it seems to have been the same limitation.

bors added a commit that referenced this pull request Dec 8, 2014
…elix

Otherwise region inference can fail when closure arguments include `ref` bindings. Test case included in the PR.
@bors bors closed this Dec 9, 2014
@bors bors merged commit 9c65a5b into rust-lang:master Dec 9, 2014
@nikomatsakis nikomatsakis deleted the reborrow-closure-arg branch March 30, 2016 16:16
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.

4 participants