summary refs log tree commit diff
path: root/src/test/ui/parser/mismatched-braces/missing-close-brace-in-struct.stderr
blob: ac8dd48a588791f6f50019366a3bda2556c389c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error: this file contains an unclosed delimiter
  --> $DIR/missing-close-brace-in-struct.rs:14: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 | trait T {
   | ^^^^^ expected identifier, found keyword

error: expected `:`, found `T`
  --> $DIR/missing-close-brace-in-struct.rs:4:7
   |
LL | trait T {
   |       ^ expected `:`

error: aborting due to 3 previous errors