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

Allow --edition 2021 to be passed to rustfmt #4847

Merged
merged 1 commit into from
Jun 9, 2021
Merged

Allow --edition 2021 to be passed to rustfmt #4847

merged 1 commit into from
Jun 9, 2021

Conversation

PatchMixolydic
Copy link
Contributor

@PatchMixolydic PatchMixolydic commented May 22, 2021

Support for Rust 2021 was added in #4618, but it wasn't actually made available through rustfmt's command line. This should let people who are testing Rust 2021 on nightly rustc run cargo fmt again. Please let me know if I should add a test for this or if this should be gated somehow!

This was added to Configurations.md in #4618, but the option wasn't
actually made available. This should let people who are using Rust 2021
on nightly rustc run `cargo fmt` again.
Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that'd be pretty important wouldn't it 😆 Thanks for fixing this!

No ETA on a release yet but will try to get the commit synced soon so that the fix will actually hit nightly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants