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

change default edition to 2018 #3942

Merged
merged 1 commit into from
Nov 27, 2019

Conversation

calebcartwright
Copy link
Member

Resolves #3517 and refs #3887

Unsurprisingly changing the default edition from 2015 to 2018 required updates to a few tests as well to account for changes.

@@ -62,7 +62,7 @@ use foo::{baz, qux as bar};
use ::foo;
use ::foo::{Bar};
use ::foo::{Bar, Baz};
use ::{Foo};
use ::{qux};
Copy link
Member Author

Choose a reason for hiding this comment

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

This was changed due to an existing bug I discovered during this process that only surfaces when using the 2018 edition (we didn't see it before because the default edition was 2015).

I've opened #3943 to track that separate issue

@topecongiro topecongiro merged commit 0db9010 into rust-lang:master Nov 27, 2019
@topecongiro
Copy link
Contributor

Thank you!

@calebcartwright calebcartwright deleted the edition-2018-default branch November 27, 2019 00:43
@karyon
Copy link
Contributor

karyon commented Oct 26, 2021

I believe this won't be backported, right @calebcartwright?

@calebcartwright
Copy link
Member Author

I believe this won't be backported, right @calebcartwright?

Correct 👍

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.

Update default edition to 2018
3 participants