summary refs log tree commit diff
path: root/src/test/ui/parser/issues/issue-13483.stderr
blob: 5fd05b18ce06e6bfcda8df32b14beefb6b95f320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
error: missing condition for `if` expression
  --> $DIR/issue-13483.rs:3:14
   |
LL |     } else if {
   |              ^ expected if condition here

error: missing condition for `if` expression
  --> $DIR/issue-13483.rs:11:14
   |
LL |     } else if {
   |              ^ expected if condition here

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

For more information about this error, try `rustc --explain E0308`.