Function make_error

fn make_error<I, E: ParseError<I>>(input: I, kind: ErrorKind) -> E

Creates an error from the input position and an [ErrorKind]