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