fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
386 B14 linesraw
1error: expected type, found `{`
2  --> $DIR/recover-enum2.rs:6:18
3   |
4LL |             abc: {},
5   |                  ^ expected type
6
7error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `{`
8  --> $DIR/recover-enum2.rs:25:22
9   |
10LL |             Nope(i32 {})
11   |                      ^ expected one of 7 possible tokens here
12
13error: aborting due to 2 previous errors
14