You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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
The text was updated successfully, but these errors were encountered: