Closed as not planned
Description
Describe the bug
The contents of macros are changed.
Input:
test_macro!(pub fn test_fn(); "foobar");
Output:
test_macro!(fn test_fn();, "foobar");
Expected behavior
Unchanged, or "formatted" but not keywords/symbols removed/added.
Meta
- rustfmt version: rustfmt 1.4.30-nightly (acd9486 2020-12-20)
- From where did you install rustfmt?: rustup
- How do you run rustfmt: cargo fmt --all