3 ms·
I too am pretty confident that there will be no generally type-aware Rust macro system, which is legitimately disappointing. Still, the types of many named ent
by ncmncm 5y ago
I too am pretty confident that there will be no generally type-aware Rust macro system, which is legitimately disappointing.
Still, the types of many named entities will typically be knowable. So, a macro system that can provisionally operate on types when they are known, or even that supports macros that require that the types of certain names be known, seems doable, in principle. It would need a good usage story to get any traction.