pest_error_to_diagnostic

Function pest_error_to_diagnostic 

Source
pub(crate) fn pest_error_to_diagnostic(error: &Error<Rule>) -> Diagnostic