rust/tests
GambitingMan 041f113159
Fixed error caused by combination of match_arm_blocks and control_brace_style
Fixes 5912

When `control_brace_style = "AlwaysNextLine"`, the code seems to always assume that `body_prefix` is `{`. This is however not the case when `match_arm_blocks = false`. This causes `block_sep` to introduce extra white space that causes the error.

The fix was to check if `body_prefix` is empty before matching on `ControlBraceStyle::AlwaysNextLine`.
2023-10-23 20:27:26 -04:00
..
cargo-fmt Inline format arguments for easier reading (#5881) 2023-08-13 14:14:31 -05:00
config fix: handle skip_macro_invocations from config file 2023-07-05 17:46:03 -04:00
coverage
mod-resolver Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
parser
rustfmt Fixed error caused by combination of match_arm_blocks and control_brace_style 2023-10-23 20:27:26 -04:00
source Fixed error caused by combination of match_arm_blocks and control_brace_style 2023-10-23 20:27:26 -04:00
target Fixed error caused by combination of match_arm_blocks and control_brace_style 2023-10-23 20:27:26 -04:00
writemode