fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
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