Closed saethlin closed 1 week ago
Formatting of only changed files must be correct, otherwise some files in the tree will get spurious formatting changes in PRs.
Don't we check formatting of all files in CI anyway?
Perhaps https://github.com/rust-lang/rust/issues/131296 is related? I have a vague memory of seeing this misbehavior occasionally in the past though I'm only now remembering to file an issue.
Most likely.
Don't we check formatting of all files in CI anyway?
On CI, yes.
Interesting. I swear I've seen spurious formatting changes in PRs. Might be some other effect.
Should be closed by https://github.com/rust-lang/rust/pull/131331 (GH didn't pick up the comment)
I am in this state (only 1 modified file):
But I just tried to format and got this:
Something is quite wrong here. Formatting of only changed files must be correct, otherwise some files in the tree will get spurious formatting changes in PRs.
Perhaps https://github.com/rust-lang/rust/issues/131296 is related? I have a vague memory of seeing this misbehavior occasionally in the past though I'm only now remembering to file an issue.