fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

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