1 error[E0308]: if and else have incompatible types
2 --> $DIR/if-let-arm-types.rs:7:9
4 LL | / if let Some(b) = None {
7 | | -- expected because of this
11 | | ^ expected `()`, found integer
13 | |_____- if and else have incompatible types
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0308`.