rust/tests/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
243 B
Rust
Raw Normal View History

fn main() {
if true {
} else if {
//~^ ERROR missing condition for `if` expression
} else {
}
}
fn foo() {
if true {
} else if {
//~^ ERROR missing condition for `if` expression
}
bar();
}
fn bar() {}