1 error[E0317]: if may be missing an else clause
2 --> $DIR/issue-19991.rs:15:5
4 LL | / if let Some(homura) = Some("madoka") { //~ ERROR missing an else clause
5 LL | | //~| expected type `()`
6 LL | | //~| found type `{integer}`
7 LL | | //~| expected (), found integral variable
10 | |_____^ expected (), found integral variable
12 = note: expected type `()`
13 found type `{integer}`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0317`.