Skip to content

borrowck: aliasability violation with closure captures can happen #21691

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
Jan 29, 2015

Conversation

edwardw
Copy link
Contributor

@edwardw edwardw commented Jan 27, 2015

It was considered to be impossible but actually it can
happen for nested closures. Also, because there must
be nested closures when this happens, we can use more
targeted help message.

Closes #21390
Closes #21600

It was considered to be impossible but actually it can
happen for nested closures. Also, because there must
be nested closures when this happens, we can use more
targeted help message.

Closes rust-lang#21390
Closes rust-lang#21600
@rust-highfive
Copy link
Contributor

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@nikomatsakis
Copy link
Contributor

@bors r+ 2c6440e

bors added a commit that referenced this pull request Jan 29, 2015
It was considered to be impossible but actually it can
happen for nested closures. Also, because there must
be nested closures when this happens, we can use more
targeted help message.

Closes #21390
Closes #21600
@bors
Copy link
Collaborator

bors commented Jan 29, 2015

⌛ Testing commit 2c6440e with merge 7ea93ab...

@bors
Copy link
Collaborator

bors commented Jan 29, 2015

@bors bors merged commit 2c6440e into rust-lang:master Jan 29, 2015
@edwardw edwardw deleted the double-closure branch January 30, 2015 05:31
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.

Internal compiler error: aliasability violation with closure ICE: aliasability violation with closure
5 participants