From 3cd4112bdc924c132cb0eab9d064511a215421ec Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 30 Jul 2020 18:02:20 +0200 Subject: Finalize const&static grammar --- crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast | 2 +- .../ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.rast | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'crates/ra_syntax/test_data/parser/inline') diff --git a/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast b/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast index d2a18330f..a6e6552a9 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast @@ -17,7 +17,7 @@ SOURCE_FILE@0..50 L_CURLY@22..23 "{" R_CURLY@23..24 "}" WHITESPACE@24..25 "\n" - CONST_DEF@25..46 + CONST@25..46 UNSAFE_KW@25..31 "unsafe" WHITESPACE@31..32 " " CONST_KW@32..37 "const" diff --git a/crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast b/crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast index ebcc26e0d..8d761b907 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast @@ -1,5 +1,5 @@ SOURCE_FILE@0..19 - STATIC_DEF@0..18 + STATIC@0..18 STATIC_KW@0..6 "static" WHITESPACE@6..7 " " ERROR@7..8 diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast index a62ce23e6..955e00dde 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast @@ -27,7 +27,7 @@ SOURCE_FILE@0..83 IDENT@21..26 "Clone" SEMICOLON@26..27 ";" WHITESPACE@27..32 "\n " - CONST_DEF@32..45 + CONST@32..45 CONST_KW@32..37 "const" WHITESPACE@37..38 " " NAME@38..39 diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast index 3ae870e17..52181ca0c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast @@ -26,7 +26,7 @@ SOURCE_FILE@0..89 IDENT@22..25 "i32" SEMICOLON@25..26 ";" WHITESPACE@26..31 "\n " - CONST_DEF@31..49 + CONST@31..49 CONST_KW@31..36 "const" WHITESPACE@36..37 " " NAME@37..38 diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.rast b/crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.rast index 3c00a2647..0c35bf2b7 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.rast @@ -1,5 +1,5 @@ SOURCE_FILE@0..40 - CONST_DEF@0..39 + CONST@0..39 CONST_KW@0..5 "const" WHITESPACE@5..6 " " NAME@6..7 -- cgit v1.2.3