fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: mismatched types 2 --> $DIR/blind-item-block-middle.rs:6:9 3 | 4LL | mod foo { pub struct bar; } 5 | -------------- unit struct defined here 6... 7LL | 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 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0308`.