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
rustfmt typically doesn't handle generated code very well because it can be very nested. If you'd like rustfmt to try and format this you could try bumping the max_width to some sufficiently large value.
For some reason,
rustfmt
won't touch this code.https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=14f6ff72d26385355b3f2277bf064107
I'm aware it's hairy (it's generated), but at least it should format it somewhat nicely.
First noticed via the CLI via
cargo fmt --all
and confirmed in the playground.If I remove all of the
:: oxc_quote :: private ::
stuff, it formats fine.The text was updated successfully, but these errors were encountered: