-
Notifications
You must be signed in to change notification settings - Fork 900
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
Labels
good first issue
Issues up for grabs, also good candidates for new rustfmt contributors
Comments
Hmm, I think we should have made |
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
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. |
I thought that is implicit? I.e. if you are on an unstable toolchain, you
already have unstable features? Or is the flag for opting out of unstable
festures on an unstable toolchain?
Even if it"s a documentation bug, it would be cool if the feature that I
expected would exist :D
It"s a pain having to install 2 rust versions in CI if you want to test
against stable but would like to use unstable format options and verify
formatting in CI using `--check`.
…On Mon, 7 Jan 2019, 03:28 Nick Cameron, ***@***.***> wrote:
It should read "Enable unstable features on *un*stable 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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3247 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFO3NTGbmgft0X4gRDZPMVIn5erlSqyvks5vArDggaJpZM4ZMuLR>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The documentation of
unstable_features
says: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.
The text was updated successfully, but these errors were encountered: