]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4201.stderr
Auto merge of #53237 - overdrivenpotato:wasm-export-table, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-4201.stderr
1 error[E0317]: if may be missing an else clause
2   --> $DIR/issue-4201.rs:14:12
3    |
4 LL |       } else if false {
5    |  ____________^
6 LL | | //~^ ERROR if may be missing an else clause
7 LL | | //~| expected type `()`
8 LL | | //~| found type `{integer}`
9 LL | | //~| expected (), found integral variable
10 LL | |         1
11 LL | |     };
12    | |_____^ expected (), found integral variable
13    |
14    = note: expected type `()`
15               found type `{integer}`
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0317`.