fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
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 | 12 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 13 14error[E0412]: cannot find type `foo` in this scope 15 --> $DIR/test3.rs:11:22 16 | 17LL | define_struct! { foo } 18 | ^^^ not found in this scope 19 20error[E0412]: cannot find type `foo` in this scope 21 --> $DIR/test3.rs:11:22 22 | 23LL | define_struct! { foo } 24 | ^^^ not found in this scope 25 26error: aborting due to 3 previous errors 27 28For more information about this error, try `rustc --explain E0412`.