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

11 lines
235 B
Rust

use sailfish::RenderOnce;
use sailfish_macros::RenderOnce;
#[derive(RenderOnce)]
#[template(path = "missing_semicolon.stpl")]
struct MissingSemicolon {}
fn main() {
println!("{}", (MissingSemicolon {}).render_once().unwrap());
}