rust/src/test/ui/issues/issue-4201.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

20 lines
410 B
Plaintext

error[E0317]: if may be missing an else clause
--> $DIR/issue-4201.rs:4:12
|
LL | } else if false {
| ____________^
LL | |
LL | |
LL | |
LL | |
LL | | 1
LL | | };
| |_____^ expected (), found integer
|
= note: expected type `()`
found type `{integer}`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0317`.