rust/tests/ui/parser/mismatched-braces/missing-close-brace-in-struct.stderr
2023-01-11 09:32:08 +00:00

21 lines
576 B
Plaintext

error: this file contains an unclosed delimiter
--> $DIR/missing-close-brace-in-struct.rs:13:65
|
LL | pub(crate) struct Bar<T> {
| - unclosed delimiter
...
LL | fn main() {}
| ^
error: expected identifier, found keyword `trait`
--> $DIR/missing-close-brace-in-struct.rs:4:1
|
LL | pub(crate) struct Bar<T> {
| --- while parsing this struct
...
LL | trait T {
| ^^^^^ expected identifier, found keyword
error: aborting due to 2 previous errors