rustc_mir_transform::coverage::spans::from_mir

Function filtered_statement_span

source
fn filtered_statement_span(statement: &Statement<'_>) -> Option<Span>
Expand description

If the MIR Statement has a span contributive to computing coverage spans, return it; otherwise return None.