Skip to main content

dedup_errors

Function dedup_errors 

Source
pub fn dedup_errors(errs: &[ParseError]) -> Vec<ParseError>
Expand description

Deduplicate errors by span start position.

If two errors start at the same position, only the first is kept.