Repository navigation
Tracking Issue for Rust 2024: rustfmt style editions #123799
Copy link
Copy link
Closed
Labels
A-edition-2024Area: The 2024 editionArea: The 2024 editionC-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 RFCS-tracking-ready-for-editionStatus: This issue is ready for inclusion in the edition.Status: This issue is ready for inclusion in the edition.T-rustfmtRelevant to the rustfmt team, which will review and decide on the PR/issue.Relevant to the rustfmt team, which will review and decide on the PR/issue.T-styleRelevant to the style team, which will review and decide on the PR/issue.Relevant to the style team, which will review and decide on the PR/issue.
Description
Activity
- addedC-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-styleRelevant to the style team, which will review and decide on the PR/issue.Relevant to the style team, which will review and decide on the PR/issue.A-edition-2024Area: The 2024 editionArea: The 2024 edition
on Apr 11, 2024 You can also add rust-lang/rustfmt#5933 to the implementation history
- addedI-style-nominatedNominated for discussion during a style team meeting.Nominated for discussion during a style team meeting.
on Apr 17, 2024 - addedS-tracking-needs-documentationStatus: Needs documentation.Status: Needs documentation.S-tracking-impl-incompleteStatus: The implementation is incomplete.Status: The implementation is incomplete.
on May 21, 2024 note from today's t-style meet: use this one in the edition guide to provide additional/broader context around the style edition impacts, stability policy, etc. so that it doesn't needed to be repeated in other edition sections
- removedS-tracking-impl-incompleteStatus: The implementation is incomplete.Status: The implementation is incomplete.
on Aug 14, 2024 - removedS-tracking-needs-documentationStatus: Needs documentation.Status: Needs documentation.
on Nov 4, 2024 @rustbot labels +S-tracking-ready-for-edition
We've reviewed, and this item is now ready for Rust 2024. Thanks to @calebcartwright, @ytmimi, and the rest of the rustfmt team for pushing forward this important work and making it ready for the edition.
- addedS-tracking-ready-for-editionStatus: This issue is ready for inclusion in the edition.Status: This issue is ready for inclusion in the edition.
on Nov 4, 2024 - removedI-style-nominatedNominated for discussion during a style team meeting.Nominated for discussion during a style team meeting.
on Nov 4, 2024 - added a commit that references this issue
on Jan 3, 2025 - addedT-rustfmtRelevant to the rustfmt team, which will review and decide on the PR/issue.Relevant to the rustfmt team, which will review and decide on the PR/issue.and removed
on Oct 8, 2025
Metadata
Metadata
Assignees
Labels
A-edition-2024Area: The 2024 editionArea: The 2024 editionC-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 RFCS-tracking-ready-for-editionStatus: This issue is ready for inclusion in the edition.Status: This issue is ready for inclusion in the edition.T-rustfmtRelevant to the rustfmt team, which will review and decide on the PR/issue.Relevant to the rustfmt team, which will review and decide on the PR/issue.T-styleRelevant to the style team, which will review and decide on the PR/issue.Relevant to the style team, which will review and decide on the PR/issue.
This is a tracking issue for support for style editions in rustfmt. This is needed to support the Style Edition 2024 which is expected to be released with Rust 2024.
About tracking issues
Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
style_edition = "2024"in-tree #134929Unresolved Questions
None.
Related
StyleEditionenum andStyleEditionDefaulttrait rustfmt#5933StyleEditionDefaulttrait for all configs rustfmt#5937cc @rust-lang/rustfmt @rust-lang/style @calebcartwright