Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

concat_idents cannot be used in pattern position #50408

Open
ExpHP opened this issue May 3, 2018 · 0 comments
Open

concat_idents cannot be used in pattern position #50408

ExpHP opened this issue May 3, 2018 · 0 comments
Labels
A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-patterns Relating to patterns and pattern matching C-feature-request Category: A feature request, i.e: not implemented / a PR. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@ExpHP
Copy link
Contributor

ExpHP commented May 3, 2018

  • 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.

@cuviper cuviper added A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) C-feature-request Category: A feature request, i.e: not implemented / a PR. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 4, 2018
@fmease fmease added the A-patterns Relating to patterns and pattern matching label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-patterns Relating to patterns and pattern matching C-feature-request Category: A feature request, i.e: not implemented / a PR. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants