diff options
author | kjeremy <[email protected]> | 2019-09-20 21:35:29 +0100 |
---|---|---|
committer | kjeremy <[email protected]> | 2019-09-20 21:35:29 +0100 |
commit | fef7fcf5a95326fe7bcb0bb5e8a0c0e02f8421a9 (patch) | |
tree | 587046af983f7425729dc9c923635bcbdb74b14d /crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rs | |
parent | 07bbe57fefdf8d7041c8bdeb0f3feb7ca567c43b (diff) |
Support loop as argument
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rs b/crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rs new file mode 100644 index 000000000..31c12522f --- /dev/null +++ b/crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rs | |||
@@ -0,0 +1,5 @@ | |||
1 | fn foo(x: i32) {} | ||
2 | |||
3 | fn main() { | ||
4 | foo(loop {}); | ||
5 | } \ No newline at end of file | ||