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

11 lines
235 B
Rust
Raw Normal View History

2024-03-11 17:33:11 -04:00
use sailfish::RenderOnce;
use sailfish_macros::RenderOnce;
2024-03-11 17:33:11 -04:00
#[derive(RenderOnce)]
#[template(path = "missing_semicolon.stpl")]
struct MissingSemicolon {}
fn main() {
println!("{}", (MissingSemicolon {}).render_once().unwrap());
}