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