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
Thanks for reaching out, going to close as a duplicate as it's a known issue with more nuance and TBD items than one might initially suspect (e.g. rust-lang/style-team#191).
We're currently focused on critical items for Edition 2024, but I'm hopeful we can make an adjustment here to at least avoid the removal of the comment even if we're not fully prepared to format items containing comments within the header
Is it normal that
cargo fmt
sometimes just silently removes comments like they were not there?Here is simple reproducer:
Trait
𝔉𝔬𝔬
exists while𝔅𝔞𝔯
is not yet implemented so I commented it out.After I run it through
rustfmt
the output looks like this:Like comment was never there. Nor warnings or any other hints that something was removed.
The text was updated successfully, but these errors were encountered: