unexpected_element

Function unexpected_element 

Source
pub fn unexpected_element<'input, E>(
    element: Node<'input, 'input>,
    errors: &mut Vec<E>,
)
where E: From<ParseError>,
Expand description

Raise an ‘Unexpected element’ error