control_brace_style
and match_arm_blocks
incompatability
#4844
Labels
a-matches
match arms, patterns, blocks, etc
e-trailing whitespace
error[internal]: left behind trailing whitespace
only-with-option
requires a non-default option value to reproduce
p-low
Coming from #3373.
There seems to be an issue which sometimes occurs whenever these two options are present at the same time in a rustfmt configuration:
For example, take the following snippet from a
cargo new
main.rs file:Running
cargo fmt
on this code results in the following error:It seems that line 4 of the snippet being >=95 characters long has something to do with it. The rest of the code is just filler to get it to compile.
The text was updated successfully, but these errors were encountered: