From 71efdaa6364142b359c59659ec10f35a1e53b5d2 Mon Sep 17 00:00:00 2001 From: uHOOCCOOHu Date: Mon, 30 Sep 2019 04:44:33 +0800 Subject: Parse correct AttrInput --- crates/ra_syntax/test_data/parser/ok/0008_mod_item.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'crates/ra_syntax/test_data/parser/ok/0008_mod_item.txt') diff --git a/crates/ra_syntax/test_data/parser/ok/0008_mod_item.txt b/crates/ra_syntax/test_data/parser/ok/0008_mod_item.txt index 35465632d..061019a73 100644 --- a/crates/ra_syntax/test_data/parser/ok/0008_mod_item.txt +++ b/crates/ra_syntax/test_data/parser/ok/0008_mod_item.txt @@ -65,10 +65,12 @@ SOURCE_FILE@[0; 118) ATTR@[79; 87) POUND@[79; 80) "#" EXCL@[80; 81) "!" - TOKEN_TREE@[81; 87) - L_BRACK@[81; 82) "[" - IDENT@[82; 86) "attr" - R_BRACK@[86; 87) "]" + L_BRACK@[81; 82) "[" + PATH@[82; 86) + PATH_SEGMENT@[82; 86) + NAME_REF@[82; 86) + IDENT@[82; 86) "attr" + R_BRACK@[86; 87) "]" WHITESPACE@[87; 92) "\n " MODULE@[92; 98) MOD_KW@[92; 95) "mod" -- cgit v1.2.3