Skip to main content

format_parse_error

Function format_parse_error 

Source
pub fn format_parse_error(provider: &str, error: &impl Display) -> String
Expand description

Format a parse error for display with enhanced coloring. This is a convenience wrapper for the common “Parse error: {}” pattern.