-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expr
metavariable drops commas
#98906
Comments
(this is not an issue with |
To be clear, the use case here is to check an arbitrary TokenStream, such as one generated by a derive macro, against code in |
As already mentioned in this thread, the output of
Please provide a concrete reproducer for this if you think it doesn't directly relate to |
I did mention that this is not an issue with the |
When matching an expression in a
macro_rules
, trailing commas in argument lists and initializers disappear.Playground
The text was updated successfully, but these errors were encountered: