pub fn normalize_diagnostic_path(path: &str) -> StringExpand description
Normalize diagnostic filenames lexically for display.
This deliberately does not touch the filesystem: diagnostics should cancel
. and .. path components even when the path points at a file that no
longer exists, without resolving symlinks.