Closed
Description
This is a tracking issue for RFC 2298 (rust-lang/rfcs#2298).
Status
- RFC acceptedPreliminary implementation started (Implement
?
macro repetition #47752)Preliminary implementation availableStabilization proposedStabilized
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.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
?
repetition in macro rules rust-lang/rfcs#2298kennytm commentedon Feb 27, 2018
🤔 Duplicate of #48075?
mark-i-m commentedon Feb 27, 2018
Yep it is a duplicate
Centril commentedon Feb 27, 2018
Hmm... missed that tracking issue. I'll close that one since it is easier =)
( Copied the text from the other issue, .. )
kennytm commentedon Feb 27, 2018
The issue number in
rust/src/libsyntax/feature_gate.rs
Line 448 in 29f5c69
Centril commentedon Feb 27, 2018
Oh damn... Less work to fix the RFC I guess... reopening that one then. =P