]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-19991.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-19991.stderr
1 error[E0317]: `if` may be missing an `else` clause
2 --> $DIR/issue-19991.rs:5:5
3 |
4 LL | / if let Some(homura) = Some("madoka") {
5 LL | |
6 LL | | 765
7 | | --- found here
8 LL | | };
9 | |_____^ expected integer, found `()`
10 |
11 = note: `if` expressions without `else` evaluate to `()`
12 = help: consider adding an `else` block that evaluates to the expected type
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0317`.