Function hir_expand::prettify_macro_expansion
source ยท pub fn prettify_macro_expansion(
db: &dyn ExpandDatabase,
syn: SyntaxNode,
span_map: &ExpansionSpanMap,
target_crate_id: CrateId,
) -> SyntaxNode
Expand description
Inserts whitespace and replaces $crate
in macro expansions.