]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/mismatched-braces/missing-close-brace-in-struct.stderr
Auto merge of #102026 - Bryanskiy:resolve_update, r=petrochenkov
[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:13: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 | pub(crate) struct Bar<T> {
14    |                   --- while parsing this struct
15 ...
16 LL | trait T {
17    | ^^^^^ expected identifier, found keyword
18
19 error: aborting due to 2 previous errors
20