Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRust 1.20 regression, for_each 0.2.0, conflicts with unstable iterator_for_each feature #43239
Comments
jdm
added
the
regression-from-stable-to-nightly
label
Jul 14, 2017
This comment has been minimized.
This comment has been minimized.
|
I think this is expected breakage, since you could use UFC syntax to call the method you mean. Otherwise we could never add new methods to any type or trait. |
This comment has been minimized.
This comment has been minimized.
|
I'm surprised that it just assumes the code wanted |
alexcrichton
added
regression-from-stable-to-beta
I-nominated
T-libs
and removed
regression-from-stable-to-nightly
labels
Jul 23, 2017
This comment has been minimized.
This comment has been minimized.
|
If |
This comment has been minimized.
This comment has been minimized.
|
In that test |
Mark-Simulacrum
added
P-high
C-bug
labels
Jul 27, 2017
This comment has been minimized.
This comment has been minimized.
|
The libs team decided to hold off on evaluating what to do here until we have a crater report to see what the brekage is. |
This comment has been minimized.
This comment has been minimized.
|
A crater report for beta happened, and I don't believe we saw any other regressions related to this, so I'm going to close this now. |
jdm commentedJul 14, 2017
cc @jaje
It appears that a new unstable feature was implemented that conflicts with the for_each crate. rustc interprets the use of Iterator::for_each as attempting to use the unstable feature instead of the trait method defined by the for_each crate.