Multiline comment causes error[internal]: left behind trailing whitespace
#4824
Labels
e-trailing whitespace
error[internal]: left behind trailing whitespace
only-with-option
requires a non-default option value to reproduce
This input file:
causes this error:
and this formatted file:
(I'm invoking it with
cargo +nightly fmt
.)Note that there was a new line inserted before the multiline comment, but it's not empty, it contains a TAB character (I'm using tabs for indentation).
This is the trailing whitespace that the error is referring to.
My config:
rustfmt version:
The text was updated successfully, but these errors were encountered: