-
Notifications
You must be signed in to change notification settings - Fork 925
Contents of macro keeps getting indented every time rustfmt runs #2588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
topecongiro
added a commit
to topecongiro/rustfmt
that referenced
this issue
Apr 2, 2018
topecongiro
added a commit
to topecongiro/rustfmt
that referenced
this issue
Apr 2, 2018
topecongiro
added a commit
to topecongiro/rustfmt
that referenced
this issue
Apr 2, 2018
topecongiro
added a commit
to topecongiro/rustfmt
that referenced
this issue
Apr 5, 2018
topecongiro
added a commit
to topecongiro/rustfmt
that referenced
this issue
Apr 5, 2018
This bug is still present. Before: macro_rules! read_sysreg {
($name:ident, $reg:expr, $result:expr) => {
safe_asm!(
concat!("mrs $1, ", stringify!($reg)),
: "=r" ($result)
:
)
};
} After: macro_rules! read_sysreg {
($name:ident, $reg:expr, $result:expr) => {
safe_asm!(
concat!("mrs $1, ", stringify!($reg)),
: "=r" ($result)
:
)
};
} |
@Amanieu Thanks for the additional report. This looks like a dup of #2607, would you please try this workaround for now? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Possibly related to #1917?
Original:
After 1 rustfmt:
After 2 rustfmt:
The text was updated successfully, but these errors were encountered: