[rust-dev] How to use concat_idents! properly
paul.stansifer at gmail.com
Mon Mar 4 09:17:17 PST 2013
I'm afraid it's not primarily a parsing issue; it has to do with the Rust
implementation, in particular that the same AST type holds pre-expanded
code (potentially containing macro invocations) and post-expanded code (in
which macro invocations must not be present). Changing the identifier type
to be either-an-identifier-or-a-macro-invocation-producing-an-identifier
would affect way too much unrelated code. There are a number of ways around
the problem, but we need to decide which one to do.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rust-dev