-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
#[derive(Template)]
#[template(ext = "html")]
// in the preview, the `source="…"` or `path="…"` argument is provided for you
struct HelloWorld<'a> {
user: &'a str,
first_visit: bool,
}
impl<'a> HelloWorld<'a> {
fn user_name(&self) -> &str { self.user }
}
After adding impl HelloWorld
item, play-rinja report "unexpected token" compiler error:
const _: () = {
extern crate rinja as rinja;
rinja::helpers::core::compile_error!("unexpected token");
};
Metadata
Metadata
Assignees
Labels
No labels