aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0030_cond.rs
blob: 2552a2621f9e4fb3dd4179f21f533d104a589834 (plain)
1
2
3
4
5
6
7
fn foo() { if let Some(_) = None {} }
fn bar() {
    if let Some(_) | Some(_) = None {}
    if let | Some(_) = None {}
    while let Some(_) | Some(_) = None {}
    while let | Some(_) = None {}
}