]> git.proxmox.com Git - rustc.git/blame - src/test/ui/empty/empty-struct-braces-pat-3.stderr
New upstream version 1.30.0~beta.7+dfsg1
[rustc.git] / src / test / ui / empty / empty-struct-braces-pat-3.stderr
CommitLineData
b7449926
XL
1error[E0532]: expected tuple struct/variant, found struct variant `E::Empty3`
2 --> $DIR/empty-struct-braces-pat-3.rs:27:9
3 |
4LL | E::Empty3() => ()
5 | ^^^^^^^^^ did you mean `E::Empty3 { /* fields */ }`?
6
7error[E0532]: expected tuple struct/variant, found struct variant `XE::XEmpty3`
8 --> $DIR/empty-struct-braces-pat-3.rs:31:9
9 |
10LL | XE::XEmpty3() => ()
11 | ^^^^-------
12 | | |
13 | | did you mean `XEmpty5`?
14 | did you mean `XE::XEmpty3 { /* fields */ }`?
15
16error[E0532]: expected tuple struct/variant, found struct variant `E::Empty3`
17 --> $DIR/empty-struct-braces-pat-3.rs:35:9
18 |
19LL | E::Empty3(..) => ()
20 | ^^^^^^^^^ did you mean `E::Empty3 { /* fields */ }`?
21
22error[E0532]: expected tuple struct/variant, found struct variant `XE::XEmpty3`
23 --> $DIR/empty-struct-braces-pat-3.rs:39:9
24 |
25LL | XE::XEmpty3(..) => ()
26 | ^^^^-------
27 | | |
28 | | did you mean `XEmpty5`?
29 | did you mean `XE::XEmpty3 { /* fields */ }`?
30
31error: aborting due to 4 previous errors
32
33For more information about this error, try `rustc --explain E0532`.