askama/testing/tests/ui/error_file_path.rs
2024-06-17 15:58:52 +02:00

17 lines
305 B
Rust

use rinja::Template;
#[derive(Template)]
#[template(path = "invalid_syntax.html")]
struct A;
#[derive(Template)]
#[template(path = "include_invalid_syntax.html")]
struct B;
#[derive(Template)]
#[template(source = r#"{% extends "include_invalid_syntax.html" %}"#, ext = "txt")]
struct C;
fn main() {
}