-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for updating expr macro fragment specifier for Rust 2024 #123742
Copy link
Copy link
Closed
Labels
A-edition-2024Area: The 2024 editionArea: The 2024 editionA-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)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 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-langRelevant to the language teamRelevant to the language team
Metadata
Metadata
Assignees
Labels
A-edition-2024Area: The 2024 editionArea: The 2024 editionA-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)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 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-langRelevant to the language teamRelevant to the language team
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is a tracking issue for updating the
exprfragment specifier for Rust 2024 according to the policy described in RFC 3531:The feature gate for the issue is
#![feature(expr_fragment_specifier_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
exprmatcher for Edition 2024 and addexpr_2021nonterminal #123865exprto match_._in 2024 an expression #126697expr2024for the edition 2024 #125627expr_2021fragment specifier.:exprmacro fragment act like the edition-dependent:patfragment does #126700expr_2021) in all editions.expr_2021macro fragment specifier reference#1580exprmacro fragment specifier reference#1639Unresolved Questions
expr_2021, or should we just call it that per the RFC?expr_2021, see Tracking Issue for updatingexprmacro fragment specifier for Rust 2024 #123742 (comment).Related
expr202xmacro pattern #84364exprmatcher for Edition 2024 and addexpr_2021nonterminal #123865:exprmacro fragment act like the edition-dependent:patfragment does #126700_in 2024 an expression #126697:exprmacro fragment act like the edition-dependent:patfragment does #126700cc @rust-lang/wg-macros @eholk @vincenzopalazzo