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