aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar max <gmx.sht@gmail.com>2023-11-27 19:30:35 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-12-07 10:17:43 +0100
commit7f30a657f6530b4422eedb26977ab5b831a48bd8 (patch)
tree24f4bcbcbf3fb7c7b449416325b19f33d373c4f1
parent33eb70c34a3ca6c276ebaf7781a7d44b1a9dad83 (diff)
downloadaskama-7f30a657f6530b4422eedb26977ab5b831a48bd8.tar.gz
askama-7f30a657f6530b4422eedb26977ab5b831a48bd8.tar.bz2
askama-7f30a657f6530b4422eedb26977ab5b831a48bd8.zip
Undo an accidental deletion of `#[derive(Debug)]`
Signed-off-by: max <gmx.sht@gmail.com>
Diffstat (limited to '')
-rw-r--r--askama_parser/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/askama_parser/src/lib.rs b/askama_parser/src/lib.rs
index 9f49f97..4d27d70 100644
--- a/askama_parser/src/lib.rs
+++ b/askama_parser/src/lib.rs
@@ -135,6 +135,7 @@ pub(crate) type ParseResult<'a, T = &'a str> = Result<(&'a str, T), nom::Err<Err
///
/// It cannot be used to replace `ParseError` because it expects a generic, which would make
/// `askama`'s users experience less good (since this generic is only needed for `nom`).
+#[derive(Debug)]
pub(crate) struct ErrorContext<'a> {
pub(crate) input: &'a str,
pub(crate) message: Option<Cow<'static, str>>,