rust/crates/syntax/test_data/parser/inline/ok/0030_cond.rs
2020-08-12 18:30:53 +02:00

8 lines
197 B
Rust

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 {}
}