pub(crate) fn build_expn_tree(
spans: impl IntoIterator<Item = SpanWithBcb>,
) -> ExpnTree
Expand description
Given a collection of span/BCB pairs from potentially-different syntax contexts, arranges them into an “expansion tree” based on their expansion call-sites.