1 error[E0308]: mismatched types
2 --> $DIR/blind-item-block-middle.rs:6:9
4 LL | mod foo { pub struct bar; }
5 | --------------- unit struct defined here
10 | expected integer, found struct `bar`
11 | `bar` is interpreted as a unit struct, not a new binding
12 | help: introduce a new binding instead: `other_bar`
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0308`.