unexpected_attribute

Function unexpected_attribute 

Source
pub fn unexpected_attribute<'input, E>(
    attribute: Attribute<'input, 'input>,
    errors: &mut Vec<E>,
)
where E: From<ParseError>,
Expand description

Raise an ‘Unexpected attribute’ error