- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Closed
Labels
B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
This is a tracking issue for the edition-specific preludes.
RFC: rust-lang/rfcs#3114
Feature gates: prelude_2015, prelude_2018, and prelude_2021.
Public API
// std::prelude and core::prelude
pub mod rust_2015 {
    pub use super::v1::*;
}
pub mod rust_2018 {
    pub use super::v1::*;
}
pub mod rust_2021 {
    pub use super::v1::*;
    pub use crate::iter::FromIterator;
    pub use crate::convert::{TryFrom, TryInto};
}Steps / History
- RFC: A new prelude for the 2021 edition (trait-only edition) rfcs#3114
- Final commenting period (FCP): A new prelude for the 2021 edition (trait-only edition) rfcs#3114 (comment)
-  Add prelude::rust_*and pick one depending on the edition: Edition-specific preludes #82217
-  Add the new traits to prelude::rust_2021: New prelude #85687
- Implement migration lint: Tracked in Migration lints for 2021 prelude #84594
- Stabilize the preludes and update the documentation: Stabilize {std, core}::prelude::rust_*. #86294
Unresolved Questions
- None yet.
Metadata
Metadata
Assignees
Labels
B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.