]> git.proxmox.com Git - rustc.git/blob - tests/ui/tuple/tuple-struct-fields/test2.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / 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 = note: this error originates in the macro `define_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
13
14 error[E0412]: cannot find type `foo` in this scope
15 --> $DIR/test2.rs:11:23
16 |
17 LL | define_struct! { (foo) }
18 | ^^^ not found in this scope
19
20 error[E0412]: cannot find type `foo` in this scope
21 --> $DIR/test2.rs:11:23
22 |
23 LL | define_struct! { (foo) }
24 | ^^^ not found in this scope
25
26 error: aborting due to 3 previous errors
27
28 For more information about this error, try `rustc --explain E0412`.