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