rust/src/test/ui/parser/issues/issue-13483.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
257 B
Rust
Raw Normal View History

fn main() {
if true {
2017-11-20 06:13:27 -06:00
} else if { //~ ERROR missing condition
2019-12-06 16:23:30 -06:00
//~^ ERROR mismatched types
} else {
}
}
fn foo() {
if true {
2017-11-20 06:13:27 -06:00
} else if { //~ ERROR missing condition
2019-12-06 16:23:30 -06:00
//~^ ERROR mismatched types
}
bar();
}
fn bar() {}