]> git.lizzy.rs Git - rust.git/blob - src/test/ui/tuple/tuple-struct-fields/test.stderr
Refactor 'parse_enum_item' to use 'parse_delim_comma_seq'
[rust.git] / src / test / ui / tuple / tuple-struct-fields / test.stderr
1 error: expected one of `)` or `,`, found `(`
2   --> $DIR/test.rs:4:26
3    |
4 LL |     struct S2(pub((foo)) ());
5    |                         -^ expected one of `)` or `,`
6    |                         |
7    |                         help: missing `,`
8
9 error[E0412]: cannot find type `foo` in this scope
10   --> $DIR/test.rs:4:20
11    |
12 LL |     struct S2(pub((foo)) ());
13    |                    ^^^ not found in this scope
14
15 error: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0412`.