From c658ab440f8e69ac406b18732dbf276c084926b6 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Sat, 12 Apr 2025 11:56:21 +0100 Subject: feat: include input in parse error --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/error.rs') diff --git a/src/error.rs b/src/error.rs index ae4aa26..717dfdd 100644 --- a/src/error.rs +++ b/src/error.rs @@ -51,7 +51,7 @@ pub enum Error { #[error("utf8 conversion: {0}")] Utf8Error(#[from] Utf8Error), #[error("nom parsing: {0}")] - ParseError(String), + ParseError(String, String), #[error("unknown xml entity reference `&{0};`")] EntityProcessError(String), #[error("invalid character reference: {0}")] -- cgit