]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/mismatched-braces/missing-close-brace-in-struct.stderr
ac8dd48a588791f6f50019366a3bda2556c389c3
[rust.git] / src / test / ui / parser / mismatched-braces / missing-close-brace-in-struct.stderr
1 error: this file contains an unclosed delimiter
2   --> $DIR/missing-close-brace-in-struct.rs:14:65
3    |
4 LL | pub(crate) struct Bar<T> {
5    |                          - unclosed delimiter
6 ...
7 LL | fn main() {}
8    |                                                                 ^
9
10 error: expected identifier, found keyword `trait`
11   --> $DIR/missing-close-brace-in-struct.rs:4:1
12    |
13 LL | trait T {
14    | ^^^^^ expected identifier, found keyword
15
16 error: expected `:`, found `T`
17   --> $DIR/missing-close-brace-in-struct.rs:4:7
18    |
19 LL | trait T {
20    |       ^ expected `:`
21
22 error: aborting due to 3 previous errors
23