fn to_original_source_map(
source_map: SourceMap,
source_edits: Option<&BTreeMap<u32, Vec<SourceEdit>>>,
) -> SourceMapExpand description
Maps the ranges of a source map from the sources the compiler read back to the sources on disk, which coverage items refer to.
Preprocessing, such as dynamic test linking, rewrites sources before compilation, so the compiler reports offsets in the edited text. A range inside a replacement maps to the whole replaced range.