Closed
Description
Describe the bug
In rust-lang/rust#79553 (comment) something roughly equivalent to the following was not formatted to how to should:
enum Foo {
Bar {
foo_bar: bool,
baz: u8 },
}
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 version:
rustfmt 1.4.27-nightly (580d826 2020-11-16)
- From where did you install rustfmt?: The rust build system
- How do you run rustfmt:
./x.py fmt
Metadata
Metadata
Assignees
Labels
No labels