fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

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