summary refs log tree commit diff
path: root/src/test/ui/parser/struct-literal-in-while.stderr
blob: 6ecc14cd08182a94b97732ebeb5f4482cb554efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected type, found `3`
  --> $DIR/struct-literal-in-while.rs:25:12
   |
LL |         x: 3    //~ ERROR expected type, found `3`
   |            ^ expecting a type here because of type ascription

error: expected one of `.`, `;`, `?`, `}`, or an operator, found `{`
  --> $DIR/struct-literal-in-while.rs:26:12
   |
LL |     }.hi() { //~ ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `{`
   |            ^ expected one of `.`, `;`, `?`, `}`, or an operator here

error: aborting due to 2 previous errors