Rustfmt unstable features?

Is there any way to enable rustfmt’s unstable features? A nightly toolchain is required for config options like trailing_comma, and it doesn’t seem like DS autofix respects that option yet.

1 Like

I do understand the motivation for unstable features and nightly version support for rustfmt, but as things stand using nightly releases can lead to a worse experience for users in terms of stability and possible inconsistency of results.

As far as I know, key features of nightly rustfmt are, a few flags that should in be stable sooner rather than later and version 2.0 which is only a blocker in rare cases.

Though in case enough people feel like nightly support for rustfmt would be worth adding, we may reconsider.