fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: mismatched types 2 --> $DIR/hidden-parent.rs:6:26 3 | 4LL | let x: Option<i32> = 1i32; 5 | ----------- ^^^^ expected `Option<i32>`, found `i32` 6 | | 7 | expected due to this 8 | 9 = note: expected enum `Option<i32>` 10 found type `i32` 11help: try wrapping the expression in `Some` 12 | 13LL | let x: Option<i32> = Some(1i32); 14 | +++++ + 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0308`.