fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
554 B18 linesraw
1error: expected one of `)` or `,`, found `(`
2  --> $DIR/test2.rs:5:26
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/test2.rs:11:23
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`.