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
-- ❤️ --
macro_rules used with parenthesizes at the top level are prettified with braces, but the semicolon at the end is kept unchanged. The problem is the semicolon is required behind macro_rules with parenthesizes, but it causes an error behind braces.
macro_rules! x (
() => {}
);
is prettified to
macro_rules! x {
() => {}
};
I guess you should either keep parenthesizes or remove the final semicolon when switching to braces (but I'm not sure they won't be other side effect).
The text was updated successfully, but these errors were encountered:
-- ❤️ --
macro_rules used with parenthesizes at the top level are prettified with braces, but the semicolon at the end is kept unchanged. The problem is the semicolon is required behind macro_rules with parenthesizes, but it causes an error behind braces.
is prettified to
I guess you should either keep parenthesizes or remove the final semicolon when switching to braces (but I'm not sure they won't be other side effect).
The text was updated successfully, but these errors were encountered: