-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Tracking issue for edition-specific preludes #85684
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Is there something prelude-specific to stabilize besides allowing any use of the 2021 edition on Stable? |
@SimonSapin The modules |
New prelude RFC: rust-lang/rfcs#3114 Tracking issue: rust-lang#85684
…joshtriplett Stabilize {std, core}::prelude::rust_*. This stabilizes the `{core, std}::prelude::{rust_2015, rust_2018, rust_2021}` modules. The usage of these modules as the prelude in those editions was already stabilized. This just stabilizes the modules themselves, making it possible for a user to explicitly refer to them. Tracking issue: rust-lang#85684 FCP on the RFC that included this finished here: rust-lang/rfcs#3114 (comment)
…joshtriplett Stabilize {std, core}::prelude::rust_*. This stabilizes the `{core, std}::prelude::{rust_2015, rust_2018, rust_2021}` modules. The usage of these modules as the prelude in those editions was already stabilized. This just stabilizes the modules themselves, making it possible for a user to explicitly refer to them. Tracking issue: rust-lang#85684 FCP on the RFC that included this finished here: rust-lang/rfcs#3114 (comment)
…joshtriplett Stabilize {std, core}::prelude::rust_*. This stabilizes the `{core, std}::prelude::{rust_2015, rust_2018, rust_2021}` modules. The usage of these modules as the prelude in those editions was already stabilized. This just stabilizes the modules themselves, making it possible for a user to explicitly refer to them. Tracking issue: rust-lang#85684 FCP on the RFC that included this finished here: rust-lang/rfcs#3114 (comment)
Regarding the "how do preludes affect macro hygiene / resolution":
|
@danielhenrymantilla For new macros we try to put them inside a module like Closing this issue, as the new edition prelude and all related work is finished. |
This is a tracking issue for the edition-specific preludes.
RFC: rust-lang/rfcs#3114
Feature gates:
prelude_2015
,prelude_2018
, andprelude_2021
.Public API
Steps / History
prelude::rust_*
and pick one depending on the edition: Edition-specific preludes #82217prelude::rust_2021
: New prelude #85687Unresolved Questions
The text was updated successfully, but these errors were encountered: