Function pear::parsers::error[][src]

pub fn error<I: Input, R>(
    input: &mut I,
    parser: &'static str,
    expected: Expected<I::Token, I::InSlice, I::Slice>
) -> Result<R, I>