1 This error occurs when an `if` expression without an `else` block is used in a
2 context where a type other than `()` is expected, for example a `let`
8 let a = if x == 5 { 1 };
12 An `if` expression without an `else` block has the type `()`, so this is a type
13 error. To resolve it, add an `else` block having the same type as the `if`