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

foreach-0.2.0 beta regression #43666

Closed
est31 opened this issue Aug 5, 2017 · 2 comments
Closed

foreach-0.2.0 beta regression #43666

est31 opened this issue Aug 5, 2017 · 2 comments
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@est31
Copy link
Member

est31 commented Aug 5, 2017

foreach version 0.2.0 regressed from stable to beta (full log):

error: use of unstable library feature 'iterator_for_each' (see issue #42986)
  --> tests/basic.rs:10:10
   |
10 |     iter.for_each(|item, iter| {
   |          ^^^^^^^^

error[E0593]: closure takes 2 arguments but 1 argument is required
  --> tests/basic.rs:10:10
   |
10 |       iter.for_each(|item, iter| {
   |  __________^^^^^^^^_-
   | |          |
   | |          expected closure that takes 1 argument
11 | |                       assert_eq!(item, i * 2);
12 | |                       i += 1;
13 | |                       let _ = iter.next();
14 | |                   });
   | |___________________- takes 2 arguments

cc @JaJe

@arielb1
Copy link
Contributor

arielb1 commented Aug 5, 2017

@arielb1 arielb1 added regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Aug 5, 2017
@alexcrichton
Copy link
Member

I believe this is tracked currently at #43239, so I'm going to close in favor of that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants