pub unsafe extern "C" fn pm_diagnostic_next(
diagnostic: *const pm_diagnostic_t,
) -> *const pm_diagnostic_tExpand description
Get the diagnostic that follows the given diagnostic among the errors or the warnings of the parser that produced it.
@param diagnostic The diagnostic to get the successor of. @returns The next diagnostic of the same kind, or NULL if the given diagnostic is the last one.