Macros§
Structs§
- DeriveResolution 
- DummyResult 
- Fill-in macro expansion result, to allow compilation to continue after hitting errors.
- ExpansionData 
- ExtCtxt
- One of these is made during expansion and incrementally updated as we go;
when a macro expansion occurs, the resulting nodes have the backtrace() -> expn_dataof their expansion context stored into their span.
- Indeterminate
- Error type that denotes indeterminacy.
- MacEager
- MacResultimplementation for the common case where you’ve already built each form of AST that you might return.
- ModuleData 
- SyntaxExtension 
- A struct representing a macro definition in “lowered” form ready for expansion.
Enums§
- Annotatable
- ExpandResult 
- Result of an expansion that may need to be retried.
Consider using this for non-MultiItemModifierexpanders as well.
- SyntaxExtension Kind 
- A syntax extension kind.
Traits§
- AttrProc Macro 
- BangProc Macro 
- GlobDelegation Expander 
- LintStore Expand 
- MacResult
- The result of a macro expansion. The return values of the various methods are spliced into the AST at the callsite of the macro.
- MultiItem Modifier 
- ResolverExpand 
- TTMacroExpander 
- Represents a thing that maps token trees to Macro Results
Functions§
- ann_pretty_ 🔒printing_ compatibility_ hack 
- pretty_printing_ 🔒compatibility_ hack 
- If this item looks like a specific enums from rental, emit a fatal error. See #73345 and #83125 for more details. FIXME(#73933): Remove this eventually.
- resolve_path 
- Resolves a pathmentioned inside Rust code, returning an absolute path.
- stream_pretty_ 🔒printing_ compatibility_ hack