diff --git a/src/error.rs b/src/error.rs index 6e4b47d14..e802b7f5e 100644 --- a/src/error.rs +++ b/src/error.rs @@ -547,15 +547,6 @@ mod tests { let input = ""; let result: IResult<_, _, VerboseError<&str>> = char('x')(input); - match result.unwrap_err() { - crate::Err::Error(e) | crate::Err::Failure(e) => { - eprintln!("{:?}", e); - eprintln!("{}", convert_error(input, e)); - } - crate::Err::Incomplete(_) => { - unreachable!(); - } - } } }