Help on declarative macro
⚓ Rust 📅 2025-12-29 👤 surdeus 👁️ 2Help on declarative macro.
I want a macro that takes other macros as input and inside the main macro, expands the other macros and grab their input and use their inputs.
How do I do that
e.g
macro_rules! example {
(???) => {
???
// use the expanded information and pass it on
}
}
3 posts - 2 participants
🏷️ Rust_feed