From 022a0f061e887bd27f54c028f9a23018b8eb2b8b Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Wed, 17 Mar 2021 18:20:32 +0100 Subject: Correctly parse attributes on fn parameters --- .../parser/inline/ok/0139_param_outer_arg.rast | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'crates/syntax/test_data/parser/inline/ok') diff --git a/crates/syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast b/crates/syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast index 495e4c51b..a84088bf3 100644 --- a/crates/syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast +++ b/crates/syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast @@ -6,16 +6,16 @@ SOURCE_FILE@0..28 IDENT@3..4 "f" PARAM_LIST@4..24 L_PAREN@4..5 "(" - ATTR@5..13 - POUND@5..6 "#" - L_BRACK@6..7 "[" - PATH@7..12 - PATH_SEGMENT@7..12 - NAME_REF@7..12 - IDENT@7..12 "attr1" - R_BRACK@12..13 "]" - WHITESPACE@13..14 " " - PARAM@14..23 + PARAM@5..23 + ATTR@5..13 + POUND@5..6 "#" + L_BRACK@6..7 "[" + PATH@7..12 + PATH_SEGMENT@7..12 + NAME_REF@7..12 + IDENT@7..12 "attr1" + R_BRACK@12..13 "]" + WHITESPACE@13..14 " " IDENT_PAT@14..17 NAME@14..17 IDENT@14..17 "pat" -- cgit v1.2.3