pub fn error_to_report<'a>( path: &'a str, error: &Error ) -> Result<Report<'static, (&'a str, Range<usize>)>, Error>