pub fn inspect<'a, P1, A>(
    msg: &'a str,
    parser: P1
) -> impl Fn(ParseInput<'_>) -> ParseResult<'_, A> + '_
where P1: Fn(ParseInput<'_>) -> ParseResult<'_, A> + 'a,
Expand description

Emits a message to stderr from within the parser combinator. This can be useful for debugging.