duplicate_attribute

Function duplicate_attribute 

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

Raise a Duplicate attribute error