View macro output live?

Is there a way to view the output of a macro? not via compiling and looking at errors - but just to see the output as like a way to learn macros empirically. Either command-line or a web tool would be fine.

I'm not a rust macro expert.

I had a similar question Debugging proc_macro

cargo expand might be what you're looking for


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.