]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-13483.rs
Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahc
[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() {}