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
Declarative macros 2.0 were landed recently (rust-lang/rust#40847), and I want to try them. The problem is that rustfmt corrupts the source. Consider this simple example:
pub macro reg(){}
Rustfmt converts it to:
pubmacro reg(){}
Which makes it uncompilable. Version of rustfmt: 0.2.5-nightly.
The text was updated successfully, but these errors were encountered:
nrc
added
the
bug
Panic, non-idempotency, invalid code, etc.
label
Sep 6, 2017
Declarative macros 2.0 were landed recently (rust-lang/rust#40847), and I want to try them. The problem is that rustfmt corrupts the source. Consider this simple example:
Rustfmt converts it to:
Which makes it uncompilable. Version of rustfmt:
0.2.5-nightly
.The text was updated successfully, but these errors were encountered: