Module macro_tools::diagnostics::prelude
source · Expand description
Prelude to use essentials: use my_module::prelude::*.
Macros§
- Macro for diagnostics purpose to diagnose source code behind it and export it into a string.
- Macro for diagnostics purpose to print both syntax tree and source code behind it without syntax tree.
- Macro to export source code behind a syntax tree into a string.
- Macro to generate syn error either with span of a syntax tree element or with default one
proc_macro2::Span::call_site(). - Macro for diagnostics purpose to export both syntax tree and source code behind it into a string.
- Macro for diagnostics purpose to print both syntax tree and source code behind it with syntax tree.