2020-11-21 04:02:24 -05:00
|
|
|
warning: unused import: `std::mem`
|
|
|
|
--> $DIR/mod.rs:12:5
|
|
|
|
|
|
|
|
|
12 | use std::mem;
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `#[warn(unused_imports)]` on by default
|
|
|
|
|
|
|
|
warning: 1 warning emitted
|
|
|
|
|
2020-06-11 02:33:13 -04:00
|
|
|
error: Failed to compile template.
|
|
|
|
Caused by: Rust Syntax Error: expected expression
|
|
|
|
|
|
|
|
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
|