Uh oh!
There was an error while loading. Please reload this page.
Add edition 2021. - #79576
Conversation
rust-highfive
commented
Nov 30, 2020
(rust-highfive has picked a reviewer for you, use r? to override) |
jyn514
commented
Nov 30, 2020
rust-lang/rfcs#2966 hasn't been merged - are we sure there will be a 2021 edition? |
m-ou-se
commented
Nov 30, 2020
@jyn514 That RFC has 8 of the 9 checkboxes checked, and none of the remaining comments are about whether 2021 should exist. Both the libs and lang team have been talking about Rust 2021 as the next edition. |
Uh oh!
There was an error while loading. Please reload this page.
pickfire
commented
Dec 1, 2020
I was looking at the patch and noticed that the change is just changing from 2018 to 2021. I wonder what is the point of editions if there are no breaking change? Why would one change from 2018 to 2021 if it is the same thing? If it is the same thing then most likely some crates will be 2018 and some will be 2021, will that slow down the compile time? But from the RFC looks like we have breaking change. |
jyn514
commented
Dec 1, 2020
@pickfire that's a question you should ask (and is already addressed) on rust-lang/rfcs#2966, not here. |
m-ou-se
commented
Dec 1, 2020
This adds 2021 as an unstable edition, such that we can start adding changes to that edition. Any 2021-specific changes can be added after this PR lands, before the new edition is made stable and default. |
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
Mark-Simulacrum
commented
Dec 24, 2020
@bors r+ Thanks! |
bors
commented
Dec 24, 2020
📌 Commit cfee9fb has been approved by |
Add edition 2021. :fireworks: Happy new ~~year~~ edition. :champagne: This adds --edition=2021, and updates suggestions about 2018 to say "2018 *or later*". Related Cargo PR: rust-lang/cargo#8922 --- Edit: This adds the new edition as *unstable*. Without `-Z unstable-options`, `--edition=2021` results in: ``` $ rustc --edition=2021 error: edition 2021 is unstable and only available with -Z unstable-options. ```
bors
commented
Dec 25, 2020
⌛ Testing commit cfee9fb with merge 58cadeff6478eb14c76143aed50eb968385886c4... |
m-ou-se
commented
Dec 30, 2020
Rebased. This should be ready to merge on 2021-01-01 00:00 UTC, when the beta week ends. (Beta 1.50 is already branched off, but the check doesn't know that. Maybe we could make the check a bit smarter at some point.) |
camelid
commented
Dec 30, 2020
It's kind of cool that Edition 2021 will be ready to merge right at the beginning of 2021 :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
m-ou-se
commented
Jan 1, 2021
This is now. Happy new year! 🎆 🍾 @bors r=Mark-Simulacrum |
bors
commented
Jan 1, 2021
📌 Commit 3cbdbe8 has been approved by |
bors
commented
Jan 1, 2021
bors
commented
Jan 1, 2021
☀️ Test successful - checks-actions |
rust-highfive
commented
Jan 1, 2021
Tested on commit rust-lang/rust@f8ab56b. Direct link to PR: <rust-lang/rust#79576> 💔 rls on windows: test-pass → build-fail (cc @Xanewok). 💔 rls on linux: test-pass → build-fail (cc @Xanewok).
Add support for Rust edition 2021. This adds support for `ediiton = "2021"`. Related `rustc` PR: rust-lang/rust#79576
Add edition 2021. See rust-lang/rust#80576. This un-breaks the build of RLS after rust-lang/rust#79576 broke it.
🎆 Happy new
yearRust. 🍾This adds --edition=2021, and updates suggestions about 2018 to say "2018 or later".
Related Cargo PR: rust-lang/cargo#8922
Edit: This adds the new edition as unstable. Without
-Z unstable-options,--edition=2021results in: