]> git.proxmox.com Git - rustc.git/blob - tests/ui/blind/blind-item-block-middle.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / blind / blind-item-block-middle.stderr
1 error[E0308]: mismatched types
2 --> $DIR/blind-item-block-middle.rs:6:9
3 |
4 LL | mod foo { pub struct bar; }
5 | -------------- unit struct defined here
6 ...
7 LL | let bar = 5;
8 | ^^^ - this expression has type `{integer}`
9 | |
10 | expected integer, found `bar`
11 | `bar` is interpreted as a unit struct, not a new binding
12 | help: introduce a new binding instead: `other_bar`
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0308`.