(parser: impl CharParser<T>, input: &str)
| 16 | } |
| 17 | |
| 18 | pub fn expect_parser_error<T: std::fmt::Debug>(parser: impl CharParser<T>, input: &str) -> String { |
| 19 | let error = parser.parse_text(input).unwrap_err(); |
| 20 | format!("{error:?}") |
| 21 | } |
nothing calls this directly
no test coverage detected