Fix ICE when using Iterator in const contexts#152242
Fix ICE when using Iterator in const contexts#152242xonx4l wants to merge 4 commits intorust-lang:mainfrom
Conversation
|
r? @fee1-dead rustbot has assigned @fee1-dead. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
cc @lcnr |
|
i appreciate the effort, but I am pretty sure this is just wrong.... we shouldn't make every type implement iterator |
|
@rustbot author |
|
Reminder, once the PR becomes ready for a review, use |
|
@fee1-dead Sorry I was a bit busy. You're right . I was thinking too broad . I Think what if we return an error instead of a success that might work . what you say? Thanks for the feedback. |
|
☔ The latest upstream changes (presumably #156324) made this pull request unmergeable. Please resolve the merge conflicts. |
In this PR built-in candidates are implemented for Iterator and FusedIterator to resolve the issue in #151901
-> implement built-in candidates for Iterator and FusedIterator.
-> Added and blessed test for the built-in candidates implementation.