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
Left a comment on the linked PR, but closing this as it seems the referenced nonformatting is due to the ignore configuration within the r-l/rust repo.
If you run rustfmt directly, using stable, nightly, and/or rustfmt from source, you'll see it formatted fine both with the snippet in this issue description and the referenced snipped in the linked PR, demonstrable at the Playground link below.
Closing accordingly, but can certainly reopen if there turns out to be anything with rustfmt itself
Describe the bug
In rust-lang/rust#79553 (comment) something roughly equivalent to the following was not formatted to how to should:
The
},
should be on a new line.To Reproduce
Run
./x.py fmt
on the rust repo as of rust-lang/rust@5bd9b60. The offending line is line 60 of compiler/rustc_mir_build/src/build/expr/as_place.rs.Expected behavior
See "Describe the bug"
Meta
rustfmt 1.4.27-nightly (580d826 2020-11-16)
./x.py fmt
The text was updated successfully, but these errors were encountered: