fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
793 B26 linesraw
1error: expected one of `)` or `,`, found `(`
2  --> $DIR/test3.rs:5:27
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/test3.rs:11:22
14   |
15LL |     define_struct! { foo }
16   |                      ^^^ not found in this scope
17
18error[E0412]: cannot find type `foo` in this scope
19  --> $DIR/test3.rs:11:22
20   |
21LL |     define_struct! { foo }
22   |                      ^^^ not found in this scope
23
24error: aborting due to 3 previous errors
25
26For more information about this error, try `rustc --explain E0412`.