the current workstream https://github.com/rust-lang/rustfmt/issues/6688
Rust allows both line comments (//) and block comments (/* */) to be placed between nearly any tokens in the syntax
this is unlike other languages such as c++ which also allow this
However, rustfmt currently struggles to preserve or correctly handle comments in many of these positions
ok
Root Cause
Rust's flexible comment placement allows comments between virtually any tokens
you said this less than 200 bytes ago
The rustfmt team is aware of these limitations and actively discussing architectural improvements on Zulip.
you backquoted "Zulip" but don't link to the channel, which also isn't in the readme. there's also no workstream and most PRs recently are unreviewed
However, comprehensively solving comment formatting across all possible token positions would require significant architectural changes, active contributors with deep understanding of the codebase, and substantial time and effort investment.
so you're saying it's unmaintained and has immense tech debt