2018-06-08 16:25:53 -05:00
|
|
|
error: expected one of `)` or `,`, found `(`
|
|
|
|
--> $DIR/test.rs:14:26
|
|
|
|
|
|
|
|
|
LL | struct S2(pub((foo)) ());
|
|
|
|
| ^ expected one of `)` or `,` here
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `foo` in this scope
|
|
|
|
--> $DIR/test.rs:14:20
|
|
|
|
|
|
|
|
|
LL | struct S2(pub((foo)) ());
|
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
2018-08-22 18:19:38 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2018-06-08 16:25:53 -05:00
|
|
|
|
2018-08-22 18:19:38 -05:00
|
|
|
For more information about this error, try `rustc --explain E0412`.
|