Skip to content

Commit

Permalink
fix build in no_std+alloc
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Jun 24, 2019
1 parent bcd2a62 commit 632ab59
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!();
}
}
}
}

Expand Down

0 comments on commit 632ab59

Please sign in to comment.