diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err')
-rw-r--r-- | crates/ra_syntax/test_data/parser/err/0010_unsafe_lambda_block.txt | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0010_unsafe_lambda_block.txt b/crates/ra_syntax/test_data/parser/err/0010_unsafe_lambda_block.txt index e0edf6a2d..0ffbd25aa 100644 --- a/crates/ra_syntax/test_data/parser/err/0010_unsafe_lambda_block.txt +++ b/crates/ra_syntax/test_data/parser/err/0010_unsafe_lambda_block.txt | |||
@@ -12,8 +12,8 @@ SOURCE_FILE@[0; 42) | |||
12 | BLOCK@[10; 41) | 12 | BLOCK@[10; 41) |
13 | L_CURLY@[10; 11) "{" | 13 | L_CURLY@[10; 11) "{" |
14 | WHITESPACE@[11; 16) "\n " | 14 | WHITESPACE@[11; 16) "\n " |
15 | EXPR_STMT@[16; 39) | 15 | EXPR_STMT@[16; 24) |
16 | LAMBDA_EXPR@[16; 38) | 16 | LAMBDA_EXPR@[16; 24) |
17 | PARAM_LIST@[16; 18) | 17 | PARAM_LIST@[16; 18) |
18 | PIPE@[16; 17) "|" | 18 | PIPE@[16; 17) "|" |
19 | PIPE@[17; 18) "|" | 19 | PIPE@[17; 18) "|" |
@@ -24,20 +24,22 @@ SOURCE_FILE@[0; 42) | |||
24 | TUPLE_TYPE@[22; 24) | 24 | TUPLE_TYPE@[22; 24) |
25 | L_PAREN@[22; 23) "(" | 25 | L_PAREN@[22; 23) "(" |
26 | R_PAREN@[23; 24) ")" | 26 | R_PAREN@[23; 24) ")" |
27 | WHITESPACE@[24; 25) " " | 27 | WHITESPACE@[24; 25) " " |
28 | BLOCK_EXPR@[25; 38) | 28 | EXPR_STMT@[25; 39) |
29 | UNSAFE_KW@[25; 31) "unsafe" | 29 | BLOCK_EXPR@[25; 38) |
30 | WHITESPACE@[31; 32) " " | 30 | UNSAFE_KW@[25; 31) "unsafe" |
31 | BLOCK@[32; 38) | 31 | WHITESPACE@[31; 32) " " |
32 | L_CURLY@[32; 33) "{" | 32 | BLOCK@[32; 38) |
33 | WHITESPACE@[33; 34) " " | 33 | L_CURLY@[32; 33) "{" |
34 | TUPLE_EXPR@[34; 36) | 34 | WHITESPACE@[33; 34) " " |
35 | L_PAREN@[34; 35) "(" | 35 | TUPLE_EXPR@[34; 36) |
36 | R_PAREN@[35; 36) ")" | 36 | L_PAREN@[34; 35) "(" |
37 | WHITESPACE@[36; 37) " " | 37 | R_PAREN@[35; 36) ")" |
38 | R_CURLY@[37; 38) "}" | 38 | WHITESPACE@[36; 37) " " |
39 | R_CURLY@[37; 38) "}" | ||
39 | SEMI@[38; 39) ";" | 40 | SEMI@[38; 39) ";" |
40 | WHITESPACE@[39; 40) "\n" | 41 | WHITESPACE@[39; 40) "\n" |
41 | R_CURLY@[40; 41) "}" | 42 | R_CURLY@[40; 41) "}" |
42 | WHITESPACE@[41; 42) "\n" | 43 | WHITESPACE@[41; 42) "\n" |
43 | error [24; 24): expected `{` | 44 | error [24; 24): expected `{` |
45 | error [24; 24): expected SEMI | ||