From a1e18695548b5cd6661f26a985b34c8b105e1896 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 29 Feb 2020 21:24:40 +0100 Subject: Rename ast::ImplBlock -> ast::ImplDef --- crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.txt | 2 +- crates/ra_syntax/test_data/parser/err/0022_bad_exprs.txt | 2 +- crates/ra_syntax/test_data/parser/err/0026_imp_recovery.txt | 4 ++-- crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'crates/ra_syntax/test_data/parser/err') diff --git a/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.txt b/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.txt index b9e60f6c1..4b13a7236 100644 --- a/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.txt +++ b/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.txt @@ -1,5 +1,5 @@ SOURCE_FILE@[0; 183) - IMPL_BLOCK@[0; 182) + IMPL_DEF@[0; 182) IMPL_KW@[0; 4) "impl" WHITESPACE@[4; 5) " " PATH_TYPE@[5; 13) diff --git a/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.txt b/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.txt index bb87022b0..9f50c85e5 100644 --- a/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.txt +++ b/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.txt @@ -77,7 +77,7 @@ SOURCE_FILE@[0; 112) ERROR@[54; 55) COMMA@[54; 55) "," WHITESPACE@[55; 56) " " - IMPL_BLOCK@[56; 60) + IMPL_DEF@[56; 60) IMPL_KW@[56; 60) "impl" EXPR_STMT@[60; 61) ERROR@[60; 61) diff --git a/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.txt b/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.txt index 3942e0904..f239b7b1e 100644 --- a/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.txt +++ b/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.txt @@ -1,5 +1,5 @@ SOURCE_FILE@[0; 38) - IMPL_BLOCK@[0; 14) + IMPL_DEF@[0; 14) IMPL_KW@[0; 4) "impl" TYPE_PARAM_LIST@[4; 14) L_ANGLE@[4; 5) "<" @@ -17,7 +17,7 @@ SOURCE_FILE@[0; 38) IDENT@[8; 13) "Clone" R_ANGLE@[13; 14) ">" WHITESPACE@[14; 15) "\n" - IMPL_BLOCK@[15; 37) + IMPL_DEF@[15; 37) IMPL_KW@[15; 19) "impl" TYPE_PARAM_LIST@[19; 22) L_ANGLE@[19; 20) "<" diff --git a/crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.txt b/crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.txt index d0a128a5f..d8622d45f 100644 --- a/crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.txt +++ b/crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.txt @@ -1,5 +1,5 @@ SOURCE_FILE@[0; 118) - IMPL_BLOCK@[0; 117) + IMPL_DEF@[0; 117) IMPL_KW@[0; 4) "impl" WHITESPACE@[4; 5) " " PATH_TYPE@[5; 6) -- cgit v1.2.3