-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Description
The std::iterator::Iterator
trait will need a lang item and Iterator
implementations on functions will likely have to be forbidden to avoid ambiguity with internal iterators.
The body of the loop won't have to be a closure and return
/break
will never fail to work as expected.
See: https://mail.mozilla.org/pipermail/rust-dev/2013-June/004364.html
Metadata
Metadata
Assignees
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.