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