Closed
Description
This is a tracking issue for RFC 2298 (rust-lang/rfcs#2298).
Status
- RFC accepted
- Preliminary implementation started (Implement
?
macro repetition #47752) - Preliminary implementation available
- Stabilization proposed
- Stabilized
Known bugs
None.
Unresolved questions to be answered before stabilization
- Should the
?
Kleene operator accept a separator? Adding a separator is completely meaningless (since we don't accept trailing separators, and ? can accept "at most one" repetition), but allowing it is consistent with+
and*
. Currently, we allow a separator. We could also make it an error or lint.