Skip to content
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

Issue 6801 borrowck closures #12158

Merged
merged 33 commits into from
Feb 12, 2014

Conversation

nikomatsakis
Copy link
Contributor

I factored the commits by affected files, for the most part. The last 7 or 8 contain the meat of the PR. The rest are small changes to closures found in the codebase. Maybe interesting to read to see some of the impact of the rules.

r? @pcwalton

Fixes #6801

@brson
Copy link
Contributor

brson commented Feb 10, 2014

Excellent 1.0 progress. A thousand r+'s from me.

@pcwalton
Copy link
Contributor

Gonna get to this after dinner.

@pcwalton
Copy link
Contributor

Overall the logic looks correct as far as I can tell, although I obviously haven't proved it to myself. Just had some minor style nits. r=me when done.

@alexcrichton
Copy link
Member

Does this also close #11302?

@nikomatsakis
Copy link
Contributor Author

Fixes #11302.

bors added a commit that referenced this pull request Feb 11, 2014
…, r=pcwalton

I factored the commits by affected files, for the most part. The last 7 or 8 contain the meat of the PR. The rest are small changes to closures found in the codebase. Maybe interesting to read to see some of the impact of the rules.

r? @pcwalton

Fixes #6801
@bors bors closed this Feb 12, 2014
@bors bors merged commit 484f0f1 into rust-lang:master Feb 12, 2014
lifthrasiir added a commit to lifthrasiir/angolmois-rust that referenced this pull request Feb 12, 2014
lifthrasiir added a commit to snrs/sonorous that referenced this pull request Feb 14, 2014
- the parser is now based on the iterator interface (finally),
  which returns a combined parsed item.
- the parsed item includes Encoding, that eliminates the need of
  the BmsUsesEncoding special message.
- the player has some more methods refactored out of the tick method.
@nikomatsakis nikomatsakis deleted the issue-6801-borrowck-closures 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.

Revamp borrowck treatment of closures
5 participants