fn normalize_source_locs(s: &str) -> Cow<'_, str>Expand description
Replace every (<stem>.rs:LINE:COL) occurrence with (<stem>.rs:_:_).
Returns a std::borrow::Cow::Borrowed slice when no replacements are
needed (zero-allocation fast path for the common case where the file has
never been written or is truly unchanged).