1 error[E0317]: `if` may be missing an `else` clause
2 --> $DIR/issue-4201.rs:4:12
11 | |_____^ expected `()`, found integer
13 = note: `if` expressions without `else` evaluate to `()`
14 = help: consider adding an `else` block that evaluates to the expected type
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0317`.