-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Disagreement between x.py tidy and rustfmt #74274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Isn't this somewhat expected (if unfortunate) as |
Specifically see Lines 19 to 23 in 9d09331
Unfortunately it's pinned to a specific nightly rather than using the previous stable like rustc/cargo do, so using something like a |
This has now been documented in rust-lang/rustc-dev-guide#883. @Lucretiel do you think that's good enough to close the issue? |
I'll give it a try and see if it fixes |
Yes, that's fixed it, thank you! |
rust/src/libstd/io/buffered.rs
Lines 1136 to 1140 in 9d09331
rustfmt
andx.py fmt
disagree about the correct formatting of this block. This causes issues with editors configured to "rustfmt-on-save", because you have to keep manually reverting / running tidy. You can see this in the commit log for #72808, which has many commits that unintentionally / accidentally bounce between the two formats:1bf8ba3
e89e2e4
8df5ae0
f7650fe
The text was updated successfully, but these errors were encountered: