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