]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-13483.stderr
Rollup merge of #92399 - Veeupup:fix_vec_typo, r=Dylan-DPC
[rust.git] / src / test / ui / parser / issues / issue-13483.stderr
1 error: missing condition for `if` expression
2   --> $DIR/issue-13483.rs:3:14
3    |
4 LL |     } else if {
5    |              ^ expected if condition here
6
7 error: missing condition for `if` expression
8   --> $DIR/issue-13483.rs:11:14
9    |
10 LL |     } else if {
11    |              ^ expected if condition here
12
13 error[E0308]: mismatched types
14   --> $DIR/issue-13483.rs:3:15
15    |
16 LL |       } else if {
17    |  _______________^
18 LL | |
19 LL | |     } else {
20    | |_____^ expected `bool`, found `()`
21
22 error[E0308]: mismatched types
23   --> $DIR/issue-13483.rs:11:15
24    |
25 LL |       } else if {
26    |  _______________^
27 LL | |
28 LL | |     }
29    | |_____^ expected `bool`, found `()`
30
31 error: aborting due to 4 previous errors
32
33 For more information about this error, try `rustc --explain E0308`.