fn fail_with_diagnostics(
source_file_body: &Source<'_>,
errors: OneOrMore<Rich<'_, Token>>,
) -> OneOrMore<WithLocation<ProgramError>>
Expand description
Convert raw parse errors into instances of ProgramError
.
fn fail_with_diagnostics(
source_file_body: &Source<'_>,
errors: OneOrMore<Rich<'_, Token>>,
) -> OneOrMore<WithLocation<ProgramError>>
Convert raw parse errors into instances of ProgramError
.