You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like this could be related to #4631 as both deal with dropping tokens in macro calls.
EDIT: upon further investigation these issues don't seem to be related. #4631 deals more with adding tokens to macro calls. specifically adding commas ,.
Doing some testing and it seems like #5301 will fix some of the examples you outlined, but the first case a!(for<> A); is still an issue even after testing this snippet on that branch.
Given this input:
rustfmt produces the following output:
Which is incorrect since macros can depend on the
for<...>
. (playground)The text was updated successfully, but these errors were encountered: