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
This crate's fallback implementation of From<TokenTree> for TokenStream treats negative integer literals as one token, however rustc's implementation treats negative integer literals as an alone - followed by the positive integer literal.
Run that proc macro in another crate. With the commented line commented it will output two separate tokens, but with it uncommented it will output one negative literal token.
The text was updated successfully, but these errors were encountered:
This crate's fallback implementation of
From<TokenTree>
forTokenStream
treats negative integer literals as one token, howeverrustc
's implementation treats negative integer literals as an alone-
followed by the positive integer literal.How to Reproduce
The text was updated successfully, but these errors were encountered: