-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Description
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
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.