1 error[E0317]: if may be missing an else clause
2 --> $DIR/issue-4201.rs:14:12
6 LL | | //~^ ERROR if may be missing an else clause
7 LL | | //~| expected type `()`
8 LL | | //~| found type `{integer}`
9 LL | | //~| expected (), found integral variable
12 | |_____^ expected (), found integral variable
14 = note: expected type `()`
15 found type `{integer}`
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0317`.