<[email protected]>

>  More or less as a note to myself and Paul: I claim that this problem
> would be solved by a token-tree-based macro system.


There's another consequence of a such a macro system related to this: You
could write `[T * some_macro!(...)]`, but only on the right-hand side of a
macro definition. It can't appear in plain code still, because it would
need a place in the AST. Currently, the RHS of a macro definition is
treated much more like "ordinary" code.

Paul
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to