]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-13483.rs
Merge commit '5034d47f721ff4c3a3ff2aca9ef2ef3e1d067f9f' into clippyup
[rust.git] / src / test / ui / issues / issue-13483.rs
1 fn main() {
2     if true {
3     } else if { //~ ERROR missing condition
4     //~^ ERROR mismatched types
5     } else {
6     }
7 }
8
9 fn foo() {
10     if true {
11     } else if { //~ ERROR missing condition
12     //~^ ERROR mismatched types
13     }
14     bar();
15 }
16
17 fn bar() {}