fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
381 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
12
13error: aborting due to 2 previous errors
14