diff options
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/err')
-rw-r--r-- | crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.txt | 15 |
1 files changed, 8 insertions, 7 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 400442c51..edd801599 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 | |||
@@ -17,13 +17,14 @@ ROOT@[0; 42) | |||
17 | PIPE@[16; 17) | 17 | PIPE@[16; 17) |
18 | PIPE@[17; 18) | 18 | PIPE@[17; 18) |
19 | WHITESPACE@[18; 19) | 19 | WHITESPACE@[18; 19) |
20 | THIN_ARROW@[19; 21) | 20 | RET_TYPE@[19; 24) |
21 | WHITESPACE@[21; 22) | 21 | THIN_ARROW@[19; 21) |
22 | TUPLE_TYPE@[22; 24) | 22 | WHITESPACE@[21; 22) |
23 | L_PAREN@[22; 23) | 23 | TUPLE_TYPE@[22; 24) |
24 | R_PAREN@[23; 24) | 24 | L_PAREN@[22; 23) |
25 | err: `expected a block` | 25 | R_PAREN@[23; 24) |
26 | err: `expected SEMI` | 26 | err: `expected a block` |
27 | err: `expected SEMI` | ||
27 | WHITESPACE@[24; 25) | 28 | WHITESPACE@[24; 25) |
28 | EXPR_STMT@[25; 39) | 29 | EXPR_STMT@[25; 39) |
29 | BLOCK_EXPR@[25; 38) | 30 | BLOCK_EXPR@[25; 38) |