]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/mismatched-braces/missing-close-brace-in-struct.stderr
New upstream version 1.66.0+dfsg1
[rustc.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