summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/mismatched-braces/missing-close-brace-in-struct.stderr
blob: a47d5506ef0b83718091e55dcd14fb26afd2c27a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: this file contains an unclosed delimiter
  --> $DIR/missing-close-brace-in-struct.rs:13: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: aborting due to 2 previous errors