Open
Description
Given a macro_rules
definition containing only a matcher without a body, rustfmt will delete the matcher text. e.g.
macro_rules! foo { (foo) }
Is converted to:
macro_rules! foo {}
This happens for any brace style, but only if they're the last token. e.g. the following works properly:
macro_rules! foo { (foo) => }
using rustfmt 1.7.0-stable (82e1608d 2023-12-21)