2018-06-08 21:25:53 +00:00
|
|
|
error: expected one of `)` or `,`, found `(`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/test.rs:4:26
|
2018-06-08 21:25:53 +00:00
|
|
|
|
|
|
|
|
LL | struct S2(pub((foo)) ());
|
2019-11-24 21:33:00 +00:00
|
|
|
| -^ expected one of `)` or `,`
|
|
|
|
| |
|
|
|
|
| help: missing `,`
|
2018-06-08 21:25:53 +00:00
|
|
|
|
|
|
|
error[E0412]: cannot find type `foo` in this scope
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/test.rs:4:20
|
2018-06-08 21:25:53 +00:00
|
|
|
|
|
|
|
|
LL | struct S2(pub((foo)) ());
|
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
2018-08-22 23:19:38 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2018-06-08 21:25:53 +00:00
|
|
|
|
2018-08-22 23:19:38 +00:00
|
|
|
For more information about this error, try `rustc --explain E0412`.
|