error[E0308]: mismatched types --> $DIR/hidden-parent.rs:6:26 | LL | let x: Option = 1i32; | ----------- ^^^^ expected `Option`, found `i32` | | | expected due to this | = note: expected enum `Option` found type `i32` help: try wrapping the expression in `Some` | LL | let x: Option = Some(1i32); | +++++ + error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0308`.