sailfish/integration-tests/tests/fails/unknown_option.rs

13 lines
265 B
Rust

use sailfish::TemplateOnce;
use sailfish_macros::TemplateOnce;
#[derive(TemplateOnce)]
#[template(patth = "foo.stpl")]
struct UnknownOption {
name: String
}
fn main() {
println!("{}", UnknownOption { name: "Hanako".to_owned() }.render_once().unwrap());
}