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