import hell during merges #804
ilya-epifanov
started this conversation in
General
Replies: 1 comment 5 replies
-
As much as I find the import scheme to be nicer, I'm hesitant to require nightly for formatting as it is easy to forget to format with nightly and the formatting can be thrown out of order sometimes by running with stable and then nightly to fix the problems. But on the other side of the issue, we can't really do much about rustfmt failing to keep up with the rest of the ecosystem. GATs probably won't get formatting for a while in rustfmt. let else also probably won't get proper formatting either. Essentially I am not sure what we should do here, @PolyMeilex and @Drakulix may have different opinions on this. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider adding
rustfmt.toml
:This will greatly simplify conflict resolution.
Old:
New:
One downside is that it's a nightly feature (I'm using it for a long time though).
cargo +nightly fmt
Beta Was this translation helpful? Give feedback.
All reactions