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

Rust Edition 2021 Support #1596

Merged
merged 3 commits into from
Jul 6, 2021

Conversation

joshrotenberg
Copy link
Contributor

@joshrotenberg joshrotenberg commented Jul 4, 2021

Updates to include the upcoming 2021 edition.

Fixes #1593.

@joshrotenberg joshrotenberg marked this pull request as ready for review July 5, 2021 03:23
Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

One minor issue is that specifying the edition in the example (like ```rustc,edition2021) will fail due to being unstable. We can probably work around it, though. I've been wondering if supporting something like RUSTDOCFLAGS to support that might help, but I'm reluctant to add that just for this.

@ehuss ehuss merged commit b571511 into rust-lang:master Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rust edition 2021 support
2 participants