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