7132fe03a0
- rewrite_with_alignment was called from the expr module with the wrong shape that missed the extra offset needed for the visual style - rewrite_with_alignment was indenting the given shape although that should have been the caller's responsability
14 lines
298 B
Rust
14 lines
298 B
Rust
// rustfmt-struct_field_align_threshold: 5
|
|
|
|
#[derive(Fail, Debug, Clone)]
|
|
pub enum BuildError {
|
|
LineTooLong { length: usize, limit: usize },
|
|
DisallowedByte { b: u8, pos: usize },
|
|
ContainsNewLine { pos: usize },
|
|
}
|
|
|
|
enum Foo {
|
|
A { a: usize, bbbbb: () },
|
|
B { a: (), bbbbb: () },
|
|
}
|