Search across all documentation pages
10 pages in this section.
How Rust's macro system works as a whole - declarative versus procedural macros, compile-time expansion, and the hygiene guarantees that make macros composable instead of dangerous.
What macros are and macro hygiene.
Declarative macros, matchers, and repetition.
`cargo expand` and diagnostics.
Prefer functions/generics; reach for macros last.