Skip to main content

## build_expn_tree

# Function build_expn_tree

Source

    pub(crate) fn build_expn_tree(
        mir_body: &Body<'_>,
        hir_info: &ExtractedHirInfo,
        graph: &CoverageGraph,
    ) -> Result<ExpnTree, MappingsError>

Expand description

Extracts raw span/BCB pairs from potentially-different syntax contexts, and arranges them into an “expansion tree” based on their expansion call-sites.