rust/src/test/ui/issues/issue-13483.rs
2019-12-23 13:42:25 +01:00

18 lines
257 B
Rust

fn main() {
if true {
} else if { //~ ERROR missing condition
//~^ ERROR mismatched types
} else {
}
}
fn foo() {
if true {
} else if { //~ ERROR missing condition
//~^ ERROR mismatched types
}
bar();
}
fn bar() {}