fn rebase_source_prefix(root: &Path, temp_path: &Path, path: &Path) -> PathBufExpand description
Compiler diagnostics name sources relative to the project root, so a relative prefix that selects them stays valid in the workspace and must stay relative to match.