diff options
author | max <gmx.sht@gmail.com> | 2023-11-27 17:34:04 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-12-07 10:17:43 +0100 |
commit | 33eb70c34a3ca6c276ebaf7781a7d44b1a9dad83 (patch) | |
tree | 70386fb19310fa0fce58f025c48fe236df39615e /askama_parser/src/lib.rs | |
parent | b5797cba881cb11455ca9baa25be4573eb1f317e (diff) | |
download | askama-33eb70c34a3ca6c276ebaf7781a7d44b1a9dad83.tar.gz askama-33eb70c34a3ca6c276ebaf7781a7d44b1a9dad83.tar.bz2 askama-33eb70c34a3ca6c276ebaf7781a7d44b1a9dad83.zip |
Added testing for reserved variable names
Signed-off-by: max <gmx.sht@gmail.com>
Diffstat (limited to 'askama_parser/src/lib.rs')
-rw-r--r-- | askama_parser/src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/askama_parser/src/lib.rs b/askama_parser/src/lib.rs index 4d27d70..9f49f97 100644 --- a/askama_parser/src/lib.rs +++ b/askama_parser/src/lib.rs @@ -135,7 +135,6 @@ 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>>, |