fork/rust

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

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

1.39.0
549 B18 linesraw
1error: expected one of `)` or `,`, found `(`
2  --> $DIR/test3.rs:5:27
3   |
4LL |         struct S3(pub($t) ());
5   |                           ^ expected one of `)` or `,` here
6...
7LL |     define_struct! { foo }
8   |     ---------------------- in this macro invocation
9
10error[E0412]: cannot find type `foo` in this scope
11  --> $DIR/test3.rs:11:22
12   |
13LL |     define_struct! { foo }
14   |                      ^^^ not found in this scope
15
16error: aborting due to 2 previous errors
17
18For more information about this error, try `rustc --explain E0412`.