combine::parser::error

Function message

source
pub fn message<Input, P, S>(p: P, msg: S) -> Message<P, S>
where P: Parser<Input>, Input: Stream, S: for<'s> ErrorInfo<'s, Input::Token, Input::Range>,
Expand description

Equivalent to p1.message(msg).