Skip to main content

get_error_contexts

Function get_error_contexts 

Source
pub fn get_error_contexts(
    errors: &[ParseError],
    source: &str,
) -> Vec<ErrorContext>
Expand description

Enrich a list of errors with source context