Skip to main content

normalize_locations

Function normalize_locations 

Source
pub fn normalize_locations(
    divs: Vec<Divergence>,
    root: &Path,
) -> Vec<Divergence>
Expand description

Render and baseline locations relative to the workspace root when possible. Analyzers work with absolute paths so suppression and blame can read files reliably; reporters should not leak machine-local temp or checkout paths.