]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-19991.stderr
Rollup merge of #58949 - jethrogb:jb/sgx-thread-id, r=joshtriplett
[rust.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 | |
7 LL | |
8 LL | |         765
9 LL | |     };
10    | |_____^ expected (), found integer
11    |
12    = note: expected type `()`
13               found type `{integer}`
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0317`.