1 2 3 4 5 6 7 8
use askama::Template; #[derive(Template)] #[template(source = "{% block foo %}{% endblock not_foo %}", ext = "html")] struct NameMismatchEndBlock; fn main() { }