diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0030_cond.rs')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0030_cond.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0030_cond.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0030_cond.rs index fdb37ee6f..2552a2621 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0030_cond.rs +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0030_cond.rs | |||
@@ -1 +1,7 @@ | |||
1 | fn foo() { if let Some(_) = None {} } | 1 | fn foo() { if let Some(_) = None {} } |
2 | fn bar() { | ||
3 | if let Some(_) | Some(_) = None {} | ||
4 | if let | Some(_) = None {} | ||
5 | while let Some(_) | Some(_) = None {} | ||
6 | while let | Some(_) = None {} | ||
7 | } | ||