Function candid::parser::token::error2[][src]

pub fn error2<E: ToString>(
    err: E,
    span: Span
) -> ParseError<usize, Token, LexicalError>