-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)A-patternsRelating to patterns and pattern matchingRelating to patterns and pattern matchingC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
- The three places where an ident-returning macro can be used are patterns, types, and expressions.
- The two places where
concat_idents
can be used are types and expressions. - Hmmmm.
I looked around previous issues and PRs related to concat_idents
and the word "pattern" never even comes up. This seems to be an accidental omission.
Metadata
Metadata
Assignees
Labels
A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)A-patternsRelating to patterns and pattern matchingRelating to patterns and pattern matchingC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
concat
metavar expr #111930cyrgani commentedon Jun 19, 2025
concat_idents
is being removed in #142704. The newmacro_metavar_expr_concat
feature replaces it and can be used in pattern positions as well.