rustfmt is removing a static variable when max_width
is set
#1914
Labels
bug
Panic, non-idempotency, invalid code, etc.
only-with-option
requires a non-default option value to reproduce
p-high
Given this file:
input.rs
:Running the most recently published
rustfmt
on it:Results in this file:
output.rs
:Note that the
pub static mut MyClass_example_check_no_collision
variable has disappeared and there is only a semicolon in its place.The above only happens if I am running
rustfmt
inside a directory with the followingrustfmt.toml
:The text was updated successfully, but these errors were encountered: