duplicate_element

Function duplicate_element 

Source
pub fn duplicate_element<E>(
    element_name: &str,
    duplicate_range: Range<usize>,
    existing_range: Range<usize>,
    errors: &mut Vec<E>,
)
where E: From<ParseError>,
Expand description

Raise a Duplicate element error