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

40 lines
1.0 KiB
Plaintext
Raw Normal View History

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: LexError
file: unbalanced_brace.stpl
--> $DIR/unbalanced_brace.rs:9:10
|
9 | #[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 `UnclosedDelimiter` in this scope
--> $DIR/unbalanced_brace.rs:18:9
|
18 | UnclosedDelimiter {
| ^^^^^^^^^^^^^^^^^ not found in this scope
error[E0106]: missing lifetime specifier
--> $DIR/unbalanced_brace.rs:12:18
|
12 | players: Vec<Player>,
| ^^^^^^ expected named lifetime parameter
|
help: consider introducing a named lifetime parameter
|
11 | struct UnbalancedBrace<'a> {
12 | players: Vec<Player<'a>>,
|