fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
769 B33 linesraw
1error: missing condition for `if` expression
2  --> $DIR/issue-13483.rs:3:14
3   |
4LL |     } else if {
5   |              ^ expected if condition here
6
7error: missing condition for `if` expression
8  --> $DIR/issue-13483.rs:11:14
9   |
10LL |     } else if {
11   |              ^ expected if condition here
12
13error[E0308]: mismatched types
14  --> $DIR/issue-13483.rs:3:15
15   |
16LL |       } else if {
17   |  _______________^
18LL | |
19LL | |     } else {
20   | |_____^ expected `bool`, found `()`
21
22error[E0308]: mismatched types
23  --> $DIR/issue-13483.rs:11:15
24   |
25LL |       } else if {
26   |  _______________^
27LL | |
28LL | |     }
29   | |_____^ expected `bool`, found `()`
30
31error: aborting due to 4 previous errors
32
33For more information about this error, try `rustc --explain E0308`.