aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-11-07 21:33:42 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-11-07 21:33:43 +0100
commitaf17585465113def637f03262181a46d6b6b9dd8 (patch)
treef26013ae3260cd09d862bbe4c08a34af0c6d5538
parent2257afd356e6985244e702554aeda74af63b7ff1 (diff)
downloadaskama-af17585465113def637f03262181a46d6b6b9dd8.tar.gz
askama-af17585465113def637f03262181a46d6b6b9dd8.tar.bz2
askama-af17585465113def637f03262181a46d6b6b9dd8.zip
Improve error about unsupported annotation key
Diffstat (limited to '')
-rw-r--r--askama_shared/src/input.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_shared/src/input.rs b/askama_shared/src/input.rs
index f71f8d0..bbff4b4 100644
--- a/askama_shared/src/input.rs
+++ b/askama_shared/src/input.rs
@@ -92,7 +92,7 @@ impl<'a> TemplateMeta<'a> {
} else {
panic!("ext value must be string literal");
},
- _ => { panic!("unsupported annotation key found") }
+ attr @ _ => { panic!("unsupported annotation key '{}' found", attr) }
}
}
}