pub fn fix_mark(error: Error, mark: Mark, path: Path<'_>) -> Error
Fixes the mark and path in an error.