diff options
author | Aleksey Kladov <[email protected]> | 2018-08-29 09:15:51 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-29 09:15:51 +0100 |
commit | 754c034a8119e2406c614d5536ecada1e3c8cd83 (patch) | |
tree | 070955f2417a96d595705d38e0126b3e10756a1d /crates/libsyntax2/tests/data/parser/err | |
parent | 15f15d92eb4d6ab791047eefbd6dd9b2baba1140 (diff) |
fix tests
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/err')
-rw-r--r-- | crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.txt | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.txt b/crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.txt index edd801599..38667e030 100644 --- a/crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.txt +++ b/crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.txt | |||
@@ -11,8 +11,8 @@ ROOT@[0; 42) | |||
11 | BLOCK@[10; 41) | 11 | BLOCK@[10; 41) |
12 | L_CURLY@[10; 11) | 12 | L_CURLY@[10; 11) |
13 | WHITESPACE@[11; 16) | 13 | WHITESPACE@[11; 16) |
14 | EXPR_STMT@[16; 24) | 14 | EXPR_STMT@[16; 39) |
15 | LAMBDA_EXPR@[16; 24) | 15 | LAMBDA_EXPR@[16; 38) |
16 | PARAM_LIST@[16; 18) | 16 | PARAM_LIST@[16; 18) |
17 | PIPE@[16; 17) | 17 | PIPE@[16; 17) |
18 | PIPE@[17; 18) | 18 | PIPE@[17; 18) |
@@ -23,21 +23,19 @@ ROOT@[0; 42) | |||
23 | TUPLE_TYPE@[22; 24) | 23 | TUPLE_TYPE@[22; 24) |
24 | L_PAREN@[22; 23) | 24 | L_PAREN@[22; 23) |
25 | R_PAREN@[23; 24) | 25 | R_PAREN@[23; 24) |
26 | err: `expected a block` | 26 | err: `expected `{`` |
27 | err: `expected SEMI` | 27 | WHITESPACE@[24; 25) |
28 | WHITESPACE@[24; 25) | 28 | BLOCK_EXPR@[25; 38) |
29 | EXPR_STMT@[25; 39) | 29 | UNSAFE_KW@[25; 31) |
30 | BLOCK_EXPR@[25; 38) | 30 | WHITESPACE@[31; 32) |
31 | UNSAFE_KW@[25; 31) | 31 | BLOCK@[32; 38) |
32 | WHITESPACE@[31; 32) | 32 | L_CURLY@[32; 33) |
33 | BLOCK@[32; 38) | 33 | WHITESPACE@[33; 34) |
34 | L_CURLY@[32; 33) | 34 | TUPLE_EXPR@[34; 36) |
35 | WHITESPACE@[33; 34) | 35 | L_PAREN@[34; 35) |
36 | TUPLE_EXPR@[34; 36) | 36 | R_PAREN@[35; 36) |
37 | L_PAREN@[34; 35) | 37 | WHITESPACE@[36; 37) |
38 | R_PAREN@[35; 36) | 38 | R_CURLY@[37; 38) |
39 | WHITESPACE@[36; 37) | ||
40 | R_CURLY@[37; 38) | ||
41 | SEMI@[38; 39) | 39 | SEMI@[38; 39) |
42 | WHITESPACE@[39; 40) | 40 | WHITESPACE@[39; 40) |
43 | R_CURLY@[40; 41) | 41 | R_CURLY@[40; 41) |