about summary refs log tree commit diff
path: root/tests/ui/pattern/struct-parser-recovery-issue-126344.stderr
blob: ef7f9c566db377a392953b5da71210080ad3b761 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: struct fields are separated by `,`
  --> $DIR/struct-parser-recovery-issue-126344.rs:2:11
   |
LL | struct Wrong {
   |        ----- while parsing this struct
LL |     x: i32;
   |           ^ help: replace `;` with `,`

error: expected type, found `1`
  --> $DIR/struct-parser-recovery-issue-126344.rs:21:8
   |
LL | struct WrongWithType {
   |        ------------- while parsing this struct
LL |     x: 1,
   |        ^ expected type

error: aborting due to 2 previous errors