pub fn display_path(path: &Path) -> StringExpand description
How a path is written in a diagnostic.
Relative wherever it can be — a message naming
/home/someone/crate/include/foo.h is a message that differs between two
machines, which makes it useless in a test and noisy everywhere else — so a
path inside the working directory is shown relative to it.