]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-33504.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-33504.stderr
CommitLineData
8faf50e0 1error[E0308]: mismatched types
0731742a 2 --> $DIR/issue-33504.rs:7:13
8faf50e0 3 |
74b04a01 4LL | struct Test;
064997fb 5 | ----------- unit struct defined here
74b04a01 6...
532ac7d7 7LL | let Test = 1;
5e7ed085 8 | ^^^^ - this expression has type `{integer}`
74b04a01
XL
9 | |
10 | expected integer, found struct `Test`
11 | `Test` is interpreted as a unit struct, not a new binding
12 | help: introduce a new binding instead: `other_test`
8faf50e0
XL
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0308`.