2019-08-13 15:09:11 -07:00
|
|
|
error: missing condition for `if` expression
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-13483.rs:3:14
|
2017-08-13 14:50:27 -07:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | } else if {
|
2017-08-13 14:50:27 -07:00
|
|
|
| ^ expected if condition here
|
|
|
|
|
2019-08-13 15:09:11 -07:00
|
|
|
error: missing condition for `if` expression
|
2019-12-06 23:23:30 +01:00
|
|
|
--> $DIR/issue-13483.rs:11:14
|
2017-08-17 16:51:52 -07:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | } else if {
|
2017-08-17 16:51:52 -07:00
|
|
|
| ^ expected if condition here
|
|
|
|
|
2019-12-06 23:23:30 +01:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/issue-13483.rs:3:15
|
|
|
|
|
|
|
|
|
LL | } else if {
|
|
|
|
| _______________^
|
|
|
|
LL | |
|
|
|
|
LL | | } else {
|
|
|
|
| |_____^ expected `bool`, found `()`
|
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/issue-13483.rs:11:15
|
|
|
|
|
|
|
|
|
LL | } else if {
|
|
|
|
| _______________^
|
|
|
|
LL | |
|
|
|
|
LL | | }
|
|
|
|
| |_____^ expected `bool`, found `()`
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2017-08-13 14:50:27 -07:00
|
|
|
|
2019-12-06 23:23:30 +01:00
|
|
|
For more information about this error, try `rustc --explain E0308`.
|