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
#5921 means that, in twice!($b) + 1, the twice!($b) gets treated as a statement/item macro, and then #8012 means that the trailing + 1 gets dropped (and so the behaviour is incorrect, and no error is reported).
This can be fixed by forcing the twice!($b) to be evaluated in an expression context (that is what is happening with the 1 + twice!($b) form), which can be done with some parens:
zz.rs
result
zz-1.rs
result
result is different
The text was updated successfully, but these errors were encountered: