Closed guilliamxavier closed 1 year ago
The "Macros & Attributes" section contains these three rows:
$(x),*
$(x),?
$(x),+
but the linked reference adds:
Since ? represents at most one occurrence, it cannot be used with a separator.
?
and indeed, trying to compile the following:
macro_rules! m { ($(x),*) => { $(x),* }; ($(x),?) => { $(x),? }; ($(x),+) => { $(x),+ }; }
gives an error (title of this issue) on the second rule (twice: for the matcher and for the transcriber).
PS: Thanks for the work!
Hah, thanks!
The "Macros & Attributes" section contains these three rows:
$(x),*
$(x),?
$(x),+
but the linked reference adds:
and indeed, trying to compile the following:
gives an error (title of this issue) on the second rule (twice: for the matcher and for the transcriber).
PS: Thanks for the work!