Function combine::parser::error::expected[][src]

pub fn expected<Input, P, S>(p: P, info: S) -> Expected<P, S> where
    P: Parser<Input>,
    Input: Stream,
    S: for<'s> ErrorInfo<'s, Input::Token, Input::Range>, 
Expand description

Equivalent to p.expected(info).