1 error: expected one of `)` or `,`, found `(`
4 LL | struct S3(pub($t) ());
5 | -^ expected one of `)` or `,`
9 LL | define_struct! { foo }
10 | ---------------------- in this macro invocation
12 = note: this error originates in the macro `define_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
14 error[E0412]: cannot find type `foo` in this scope
15 --> $DIR/test3.rs:11:22
17 LL | define_struct! { foo }
18 | ^^^ not found in this scope
20 error[E0412]: cannot find type `foo` in this scope
21 --> $DIR/test3.rs:11:22
23 LL | define_struct! { foo }
24 | ^^^ not found in this scope
26 error: aborting due to 3 previous errors
28 For more information about this error, try `rustc --explain E0412`.