From 2257c08cb159a30492bf2aec172539b1dd504700 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 28 Aug 2018 21:11:17 +0300 Subject: Add ret type --- .../tests/data/parser/err/0010_unsafe_lambda_block.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'crates/libsyntax2/tests/data/parser/err') 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) PIPE@[16; 17) PIPE@[17; 18) WHITESPACE@[18; 19) - THIN_ARROW@[19; 21) - WHITESPACE@[21; 22) - TUPLE_TYPE@[22; 24) - L_PAREN@[22; 23) - R_PAREN@[23; 24) - err: `expected a block` - err: `expected SEMI` + RET_TYPE@[19; 24) + THIN_ARROW@[19; 21) + WHITESPACE@[21; 22) + TUPLE_TYPE@[22; 24) + L_PAREN@[22; 23) + R_PAREN@[23; 24) + err: `expected a block` + err: `expected SEMI` WHITESPACE@[24; 25) EXPR_STMT@[25; 39) BLOCK_EXPR@[25; 38) -- cgit v1.2.3