]> git.proxmox.com Git - rustc.git/blob - src/test/ui/tuple/tuple-struct-fields/test2.stderr
New upstream version 1.41.1+dfsg1
[rustc.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 `,`
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/test2.rs:11:23
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`.