]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-37026.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-37026.stderr
1 error[E0308]: mismatched types
2 --> $DIR/issue-37026.rs:6:9
3 |
4 LL | let empty_struct::XEmpty2 = ();
5 | ^^^^^^^^^^^^^^^^^^^^^ -- this expression has type `()`
6 | |
7 | expected `()`, found struct `XEmpty2`
8
9 error[E0308]: mismatched types
10 --> $DIR/issue-37026.rs:7:9
11 |
12 LL | let empty_struct::XEmpty6(..) = ();
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^ -- this expression has type `()`
14 | |
15 | expected `()`, found struct `XEmpty6`
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0308`.