-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Remove $:meta matcher in decl macros #49629
Copy link
Copy link
Closed
Labels
A-decl-macros-2-0Area: Declarative macros 2.0 (#39412)Area: Declarative macros 2.0 (#39412)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.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.
Metadata
Metadata
Assignees
Labels
A-decl-macros-2-0Area: Declarative macros 2.0 (#39412)Area: Declarative macros 2.0 (#39412)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.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
Fields
Give feedbackNo fields configured for issues without a type.
$:metais intended for matching the content of attributes, as in the following:According to #34981 (comment) we intend to support arbitrary token streams inside of attributes rather than the limited grammar of
$:meta. Let's have decl macros drop support for$:metaand encourage#[$($meta:tt)*]instead.