fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
452 B15 linesraw
1error: expected one of `)` or `,`, found `(`
2  --> $DIR/test.rs:4:26
3   |
4LL |     struct S2(pub((foo)) ());
5   |                          ^ expected one of `)` or `,` here
6
7error[E0412]: cannot find type `foo` in this scope
8  --> $DIR/test.rs:4:20
9   |
10LL |     struct S2(pub((foo)) ());
11   |                    ^^^ not found in this scope
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0412`.