Experiment: Const iterrator range with #[rustc_do_not_const_check] #107647
Experiment: Const iterrator range with #[rustc_do_not_const_check] #107647onestacked wants to merge 5 commits intorust-lang:masterfrom
#[rustc_do_not_const_check] #107647Conversation
|
Failed to set assignee to
|
#[rustc_do_not_const_check] #[rustc_do_not_const_check]
@fee1-dead Do you know why this doesn't work? |
|
Enable |
|
It is enabled in library/core/src/lib.rs |
|
Oh, then the function needs to be const-unstable so it can use unstable const features EDIT: hmm it is unstable though.. |
|
This is probably a bug that needs fixing. The checking for |
|
|
|
And really the body of the |
4ef14a4 to
074431b
Compare
|
This commit now only implements const |
074431b to
31f0fd8
Compare
|
@fee1-dead Adding Since this is still waiting for |
e79c8cd to
a805f13
Compare
…heck, implement const Iterator and DoubleEndedIterator for Range.
788266c to
c9c9876
Compare
|
☔ The latest upstream changes (presumably #108421) made this pull request unmergeable. Please resolve the merge conflicts. |
TODO / this code will probably be used later in #104100:
rustc_do_not_const_check#106541 to land and be in Boostrapr? @ghost