2018-06-08 17:25:53 -04:00
|
|
|
error: expected one of `)` or `,`, found `(`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/test3.rs:5:27
|
2018-06-08 17:25:53 -04:00
|
|
|
|
|
|
|
|
LL | struct S3(pub($t) ());
|
2019-11-24 22:33:00 +01:00
|
|
|
| -^ expected one of `)` or `,`
|
|
|
|
| |
|
|
|
|
| help: missing `,`
|
2018-06-08 17:25:53 -04:00
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | define_struct! { foo }
|
2018-06-08 17:25:53 -04:00
|
|
|
| ---------------------- in this macro invocation
|
2019-12-16 15:56:47 +02:00
|
|
|
|
|
2021-02-13 14:52:25 -05:00
|
|
|
= note: this error originates in the macro `define_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-06-08 17:25:53 -04:00
|
|
|
|
2018-12-16 20:23:27 +03:00
|
|
|
error[E0412]: cannot find type `foo` in this scope
|
2018-12-27 03:07:00 +03:00
|
|
|
--> $DIR/test3.rs:11:22
|
2018-12-16 20:23:27 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | define_struct! { foo }
|
2018-12-16 20:23:27 +03:00
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
2020-01-08 20:02:10 +03:00
|
|
|
error[E0412]: cannot find type `foo` in this scope
|
|
|
|
--> $DIR/test3.rs:11:22
|
|
|
|
|
|
|
|
|
LL | define_struct! { foo }
|
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
2018-06-08 17:25:53 -04:00
|
|
|
|
2018-12-16 20:23:27 +03:00
|
|
|
For more information about this error, try `rustc --explain E0412`.
|