]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/issue-37026.rs:6:9 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | let empty_struct::XEmpty2 = (); |
60c5eb7d | 5 | | ^^^^^^^^^^^^^^^^^^^^^ expected `()`, found struct `empty_struct::XEmpty2` |
8faf50e0 XL |
6 | |
7 | error[E0308]: mismatched types | |
0731742a | 8 | --> $DIR/issue-37026.rs:7:9 |
8faf50e0 | 9 | | |
532ac7d7 | 10 | LL | let empty_struct::XEmpty6(..) = (); |
60c5eb7d | 11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found struct `empty_struct::XEmpty6` |
8faf50e0 XL |
12 | |
13 | error: aborting due to 2 previous errors | |
14 | ||
15 | For more information about this error, try `rustc --explain E0308`. |