fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
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`.