-
Couldn't load subscription status.
- Fork 961
Closed
Labels
A-macrosArea: macros (procedural macros, macro_rules! macros, etc.)Area: macros (procedural macros, macro_rules! macros, etc.)C-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICE
Description
Running cargo fmt on Plume-org/Plume breaks it. It seems to remove curly braces around the macro invocation, which make macro expansion fail with unexpected end of macro invocation
Step to reproduce :
$ git clone https://github.com/Plume-org/Plume
$ cd Plume
$ cargo check #compile fine
$ cargo fmt --all
$ cargo check #failReproducible with rustfmt 0.8.2-nightly (5e59925 2018-07-02) (specified by rust-toolchain) and rustfmt 0.99.2-nightly (5c9a2b6 2018-08-07) via +nightly
Metadata
Metadata
Assignees
Labels
A-macrosArea: macros (procedural macros, macro_rules! macros, etc.)Area: macros (procedural macros, macro_rules! macros, etc.)C-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICE