Top "Rust-macros" questions

Rust macros are a powerful tool to map a certain input sequence to an output sequence according to a defined procedure.

How do I use a macro across module files?

I have two modules in separate files within the same crate, where the crate has macro_rules enabled. I want …

module rust rust-macros
How do I see the expanded macro code that's causing my compile error?

I have a compile error involving a macro: <mdo macros>:6:19: 6:50 error: cannot move out of captured outer variable …

debugging rust rust-macros rust-proc-macros rust-decl-macros
How do I debug macros?

So I've got the following macro code I'm trying to debug. I've taken it from the Rust Book under the …

rust rust-macros