Open chancehudson opened 1 month ago
Thanks for the report. What version of rustfmt are you using? Can you run rustfmt --version
?
> rustfmt --version
rustfmt 1.7.1-stable (eeb90cda 2024-09-04)
Hi,
I attempted to reproduce the problem you're encountering. As part of my testing, I created a rustfmt.toml file and set max_width = 600
.
With the provided test data, the task ran for approximately 40 seconds and completed successfully without any errors.
Rustfmt hangs indefinitely formatting the following code:
possibly related #5626
output from
cargo fmt
after a few minutes: