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

Moving macro metavar expressions forward #4

Open
tgross35 opened this issue Mar 21, 2024 · 1 comment
Open

Moving macro metavar expressions forward #4

tgross35 opened this issue Mar 21, 2024 · 1 comment

Comments

@tgross35
Copy link

The feature macro_metavar_expr has been around since 2021 without any significant progress rust-lang/rust#83527. There is one unresolved question listed about hygiene, but this may have since been resolved (unclear).

It would be nice to get parts of this on the path to stabilization, even if all parts of the RFC are not yet ready. Stabilizing only ${ignore(ident)} could make sense as a first step since it is is useful, has a well-defined purpose, and shouldn't suffer from the possible hygiene problem.

This is also relevant because there are other metavar expressions that we would like to eventually move forward, such as concat in rust-lang/rust#118958 (comment).

Discussion thread: https://rust-lang.zulipchat.com/#narrow/stream/404510-wg-macros/topic/Metavar.20expressions

@tgross35
Copy link
Author

@c410-f3r actually recently suggested merging all of the feature at rust-lang/rust#83527 (comment), so this is on the table too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant