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