You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rustfmt refuses to format https://github.com/Astrabit-ST/Luminol/blob/ceea9bf0d99a12c1d1d3479c1ec80320d54fcc32/crates/modals/src/event_graphic_picker.rs. Whenever I make a change that leaves behind a trailing whitespace, it doesn't get formatted away.
Instead, I see this in my terminal: (running cargo fmt)
It drives me crazy whenever this happens, because it'll happen randomly to one of the files in my project, and then suddenly fix itself a few weeks later
I tried rustfmt 1.7.1-nightly (e9e6e2e 2024-06-28 and this still seems to be an issue.
The text was updated successfully, but these errors were encountered:
i think this is a duplicate of #3863 that results in a whitespace error message. When rustfmt fails to format any AST node it leaves the span of that node unformatted. If the span contains trailing whitespace then rustfmt will leave that unchanged as well, and later issue the error message to alert the user that there's whitespace it can't remove.
rustfmt refuses to format https://github.com/Astrabit-ST/Luminol/blob/ceea9bf0d99a12c1d1d3479c1ec80320d54fcc32/crates/modals/src/event_graphic_picker.rs. Whenever I make a change that leaves behind a trailing whitespace, it doesn't get formatted away.
Instead, I see this in my terminal: (running
cargo fmt
)It drives me crazy whenever this happens, because it'll happen randomly to one of the files in my project, and then suddenly fix itself a few weeks later
I tried
rustfmt 1.7.1-nightly (e9e6e2e 2024-06-28
and this still seems to be an issue.The text was updated successfully, but these errors were encountered: