Skip to content

Conversation

@tcard
Copy link
Contributor

@tcard tcard commented Jan 14, 2015

Really small correction.

This anti-example in the Closures section is supposed to fail because of a borrow, but it was failing at the type inference because of insufficient type information.

This makes it fail for the expected reason.

Really small correction.

This anti-example in the Closures section is supposed to fail because of a borrow, but it was failing at the type inference because of insufficient type information.

This makes it fail for the expected reason.
@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see CONTRIBUTING.md for more information.

@nikomatsakis nikomatsakis changed the title TRPL: Anti-example failing for the wrong reason. [r+] TRPL: Anti-example failing for the wrong reason. Jan 14, 2015
@steveklabnik
Copy link
Contributor

Ooops! Thanks!

bors added a commit that referenced this pull request Jan 14, 2015
[r+] TRPL: Anti-example failing for the wrong reason.

Reviewed-by: nikomatsakis
bors added a commit that referenced this pull request Jan 15, 2015
[r+] TRPL: Anti-example failing for the wrong reason.

Reviewed-by: nikomatsakis
bors added a commit that referenced this pull request Jan 15, 2015
[r+] TRPL: Anti-example failing for the wrong reason.

Reviewed-by: nikomatsakis
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 15, 2015
Really small correction.

This anti-example in the Closures section is supposed to fail because of a borrow, but it was failing at the type inference because of insufficient type information.

This makes it fail for the expected reason.
@bors bors merged commit 428da78 into rust-lang:master Jan 16, 2015
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.

5 participants