rustc_mir_transform::coverage::spans

Function split_visible_macro_spans

source
fn split_visible_macro_spans(covspans: &mut Vec<SpanFromMir>)
Expand description

When a span corresponds to a macro invocation that is visible from the function body, split it into two parts. The first part covers just the macro name plus !, and the second part covers the rest of the macro invocation. This seems to give better results for code that uses macros.