-
Notifications
You must be signed in to change notification settings - Fork 888
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
@ binding reformatted strangely on rustfmt from rustc 1.41.0-beta.4 #4031
Comments
wezm
added a commit
to yeslogic/allsorts
that referenced
this issue
Jan 30, 2020
Until there is an outcome on rust-lang/rustfmt#4031
topecongiro
added
bug
Panic, non-idempotency, invalid code, etc.
poor-formatting
and removed
bug
Panic, non-idempotency, invalid code, etc.
labels
Feb 10, 2020
I still have this issue with a nested pattern on 1.57: if let Some(
mut
ppart
@
PathPart {
kind: PartKind::End { grid_width },
..
},
) = ppart
{
// ...
} should I open a new bug for it? |
Are you using stable? If so I don't think the fix will hit stable till 1.58, but should already be on nightly |
@calebcartwright Yes, I'm using stable, and good to know. If there is a fix that's about to be published in 1.59, that's good enough for me. |
pearljt
added a commit
to pearljt/allsorts
that referenced
this issue
Aug 14, 2024
Until there is an outcome on rust-lang/rustfmt#4031
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following line is formatting differently and in an undesirable way with rustfmt from rustc beta (1.41.0-beta.4):
https://github.com/yeslogic/allsorts/blob/c78fb470ca2a575570543918cfbf15422b0377b2/tests/woff2.rs#L236
The diff looks like this:
The text was updated successfully, but these errors were encountered: