pub fn path_from_segments(segments: &[&str]) -> String
Build a path string from segments for error messages.