[][src]Function atomsh::format_error

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

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