Function format_error

Source
pub fn format_error<T: Debug>(script: &str, err: SyntaxError<'_, T>) -> String
Expand description

This is used to take an LALRPOP error and convert it into a nicely formatted error message