diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0008_item_block_recovery.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/err/0008_item_block_recovery.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0008_item_block_recovery.rs b/crates/ra_syntax/test_data/parser/err/0008_item_block_recovery.rs new file mode 100644 index 000000000..9fcac19b5 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/err/0008_item_block_recovery.rs | |||
@@ -0,0 +1,13 @@ | |||
1 | fn foo() { | ||
2 | } | ||
3 | |||
4 | bar() { | ||
5 | if true { | ||
6 | 1 | ||
7 | } else { | ||
8 | 2 + 3 | ||
9 | } | ||
10 | } | ||
11 | |||
12 | fn baz() { | ||
13 | } | ||