Skip to main content

rebase_source_prefix

Function rebase_source_prefix 

Source
fn rebase_source_prefix(root: &Path, temp_path: &Path, path: &Path) -> PathBuf
Expand 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.