]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/mismatched-braces/missing-close-brace-in-struct.stderr
Auto merge of #66408 - nnethercote:greedy-process_obligations, r=nmatsakis
[rust.git] / src / test / ui / parser / mismatched-braces / missing-close-brace-in-struct.stderr
1 error: this file contains an un-closed delimiter
2   --> $DIR/missing-close-brace-in-struct.rs:14:66
3    |
4 LL | pub(crate) struct Bar<T> {
5    |                          - un-closed 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