rust/crates/syntax/test_data/parser/inline/ok/0030_cond.rs

8 lines
197 B
Rust
Raw Normal View History

2018-08-04 17:03:22 -05:00
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 {}
}