2020-06-11 02:33:13 -04:00
|
|
|
error: Failed to compile template.
|
2020-12-16 01:38:28 -05:00
|
|
|
caused by: Rust Syntax Error (expected expression)
|
2020-06-11 02:33:13 -04:00
|
|
|
|
|
|
|
file: unexpected_token.stpl
|
|
|
|
position: line 3, column 17
|
|
|
|
|
|
|
|
|
|
|
|
|
3 | "content": <% =content %>
|
|
|
|
| ^
|
|
|
|
|
|
|
|
--> $DIR/unexpected_token.rs:10:10
|
|
|
|
|
|
|
|
|
10 | #[derive(TemplateOnce)]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error[E0422]: cannot find struct, variant or union type `UnclosedToken` in this scope
|
|
|
|
--> $DIR/unexpected_token.rs:21:9
|
|
|
|
|
|
|
|
|
21 | UnclosedToken {
|
|
|
|
| ^^^^^^^^^^^^^ not found in this scope
|
|
|
|
|
|
|
|
warning: unused import: `sailfish::TemplateOnce`
|
|
|
|
--> $DIR/unexpected_token.rs:1:5
|
|
|
|
|
|
|
|
|
1 | use sailfish::TemplateOnce;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `#[warn(unused_imports)]` on by default
|