Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the point of the unstable_features flag? #3247

Closed
thomaseizinger opened this issue Dec 11, 2018 · 3 comments
Closed

What is the point of the unstable_features flag? #3247

thomaseizinger opened this issue Dec 11, 2018 · 3 comments
Labels
good first issue Issues up for grabs, also good candidates for new rustfmt contributors

Comments

@thomaseizinger
Copy link
Contributor

The documentation of unstable_features says:

Enable unstable features on stable channel.

But the option itself is only available on nightly. So how am I supposed to enable this if I am using stable rustfmt?
I wanted to use this to have unstable formatting options on a stable toolchain without having to install that one separately.

@topecongiro topecongiro added the bug Panic, non-idempotency, invalid code, etc. label Dec 17, 2018
@topecongiro
Copy link
Contributor

Hmm, I think we should have made unstable_features stable before releasing 1.0.0.

@nrc nrc added good first issue Issues up for grabs, also good candidates for new rustfmt contributors and removed bug Panic, non-idempotency, invalid code, etc. labels Jan 7, 2019
@nrc
Copy link
Member

nrc commented Jan 7, 2019

It should read "Enable unstable features on unstable channel". That is you have to opt-in on unstable, and can't use them at all on stable. So this is a documentation bug.

@thomaseizinger
Copy link
Contributor Author

thomaseizinger commented Jan 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issues up for grabs, also good candidates for new rustfmt contributors
Projects
None yet
Development

No branches or pull requests

3 participants