Skip to main content

find_nodes_to_ignore

Function find_nodes_to_ignore 

Source
fn find_nodes_to_ignore<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: LocalDefId,
    hir_body: &Body<'tcx>,
) -> FxHashSet<HirId>
Expand description

Use heuristics to detect HIR expression nodes that should be ignored during spans-from-MIR extraction.