]>
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 = (); |
74b04a01 XL |
5 | | ^^^^^^^^^^^^^^^^^^^^^ -- this expression has type `()` |
6 | | | | |
1b1a35ee | 7 | | expected `()`, found struct `XEmpty2` |
8faf50e0 XL |
8 | |
9 | error[E0308]: mismatched types | |
0731742a | 10 | --> $DIR/issue-37026.rs:7:9 |
8faf50e0 | 11 | | |
532ac7d7 | 12 | LL | let empty_struct::XEmpty6(..) = (); |
dfeec247 XL |
13 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ -- this expression has type `()` |
14 | | | | |
1b1a35ee | 15 | | expected `()`, found struct `XEmpty6` |
8faf50e0 XL |
16 | |
17 | error: aborting due to 2 previous errors | |
18 | ||
19 | For more information about this error, try `rustc --explain E0308`. |