sailfish/sailfish-tests/integration-tests/tests/fails/unexpected_token.stderr

31 lines
823 B
Plaintext

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(RenderOnce)]
| ^^^^^^^^^^
|
= 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::RenderOnce`
--> $DIR/unexpected_token.rs:1:5
|
1 | use sailfish::RenderOnce;
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default