1
Fork 0
rust/src/test/ui/parser/issues/issue-13483.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
769 B
Text
Raw Normal View History

error: missing condition for `if` expression
2018-12-25 08:56:47 -07:00
--> $DIR/issue-13483.rs:3:14
|
2019-03-09 15:03:44 +03:00
LL | } else if {
| ^ expected if condition here
error: missing condition for `if` expression
2019-12-06 23:23:30 +01:00
--> $DIR/issue-13483.rs:11:14
|
2019-03-09 15:03:44 +03:00
LL | } else if {
| ^ 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
2019-12-06 23:23:30 +01:00
For more information about this error, try `rustc --explain E0308`.