From fe6c4115f6c8bb5b5f276bafcbd9cc3fc1d504d1 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Wed, 26 Dec 2018 21:24:49 +0100 Subject: Rename ImplItem to ImplBlock rustc uses the name ImplItem for items in impls, not the impl {} block itself, which could lead to confusion. --- crates/ra_syntax/tests/data/parser/err/0018_incomplete_fn.txt | 2 +- crates/ra_syntax/tests/data/parser/err/0022_bad_exprs.txt | 2 +- crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.txt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/ra_syntax/tests/data/parser/err') diff --git a/crates/ra_syntax/tests/data/parser/err/0018_incomplete_fn.txt b/crates/ra_syntax/tests/data/parser/err/0018_incomplete_fn.txt index 3937be255..262cbba1e 100644 --- a/crates/ra_syntax/tests/data/parser/err/0018_incomplete_fn.txt +++ b/crates/ra_syntax/tests/data/parser/err/0018_incomplete_fn.txt @@ -1,5 +1,5 @@ SOURCE_FILE@[0; 183) - IMPL_ITEM@[0; 182) + IMPL_BLOCK@[0; 182) IMPL_KW@[0; 4) WHITESPACE@[4; 5) PATH_TYPE@[5; 13) diff --git a/crates/ra_syntax/tests/data/parser/err/0022_bad_exprs.txt b/crates/ra_syntax/tests/data/parser/err/0022_bad_exprs.txt index 55999c160..da3894133 100644 --- a/crates/ra_syntax/tests/data/parser/err/0022_bad_exprs.txt +++ b/crates/ra_syntax/tests/data/parser/err/0022_bad_exprs.txt @@ -94,7 +94,7 @@ SOURCE_FILE@[0; 112) COMMA@[54; 55) err: `expected SEMI` WHITESPACE@[55; 56) - IMPL_ITEM@[56; 60) + IMPL_BLOCK@[56; 60) IMPL_KW@[56; 60) err: `expected type` err: `expected `{`` diff --git a/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.txt b/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.txt index 82683f6ee..9b5fadcf7 100644 --- a/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.txt +++ b/crates/ra_syntax/tests/data/parser/err/0026_imp_recovery.txt @@ -1,5 +1,5 @@ SOURCE_FILE@[0; 38) - IMPL_ITEM@[0; 14) + IMPL_BLOCK@[0; 14) IMPL_KW@[0; 4) TYPE_PARAM_LIST@[4; 14) L_ANGLE@[4; 5) @@ -17,7 +17,7 @@ SOURCE_FILE@[0; 38) err: `expected trait or type` err: `expected `{`` WHITESPACE@[14; 15) - IMPL_ITEM@[15; 37) + IMPL_BLOCK@[15; 37) IMPL_KW@[15; 19) TYPE_PARAM_LIST@[19; 22) L_ANGLE@[19; 20) -- cgit v1.2.3