]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-37026.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-37026.stderr
CommitLineData
8faf50e0 1error[E0308]: mismatched types
0731742a 2 --> $DIR/issue-37026.rs:6:9
8faf50e0 3 |
532ac7d7 4LL | let empty_struct::XEmpty2 = ();
60c5eb7d 5 | ^^^^^^^^^^^^^^^^^^^^^ expected `()`, found struct `empty_struct::XEmpty2`
8faf50e0
XL
6
7error[E0308]: mismatched types
0731742a 8 --> $DIR/issue-37026.rs:7:9
8faf50e0 9 |
532ac7d7 10LL | let empty_struct::XEmpty6(..) = ();
60c5eb7d 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found struct `empty_struct::XEmpty6`
8faf50e0
XL
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0308`.