From 8198cde13b8dc7c04190e5341bce3f6a0315e99b Mon Sep 17 00:00:00 2001 From: Erlend Tobiassen Date: Tue, 22 Jan 2019 14:32:23 +0100 Subject: Update tests after allowing where predicate to accept types --- .../tests/data/parser/err/0027_incomplere_where_for.txt | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'crates/ra_syntax/tests/data/parser/err') diff --git a/crates/ra_syntax/tests/data/parser/err/0027_incomplere_where_for.txt b/crates/ra_syntax/tests/data/parser/err/0027_incomplere_where_for.txt index 694295a60..8a2a73b9b 100644 --- a/crates/ra_syntax/tests/data/parser/err/0027_incomplere_where_for.txt +++ b/crates/ra_syntax/tests/data/parser/err/0027_incomplere_where_for.txt @@ -12,14 +12,15 @@ SOURCE_FILE@[0; 30) WHERE_KW@[13; 18) WHITESPACE@[18; 19) WHERE_PRED@[19; 26) - FOR_KW@[19; 22) - TYPE_PARAM_LIST@[22; 26) - L_ANGLE@[22; 23) - LIFETIME_PARAM@[23; 25) - LIFETIME@[23; 25) "'a" - R_ANGLE@[25; 26) - err: `expected a type` - err: `expected colon` + FOR_TYPE@[19; 26) + FOR_KW@[19; 22) + TYPE_PARAM_LIST@[22; 26) + L_ANGLE@[22; 23) + LIFETIME_PARAM@[23; 25) + LIFETIME@[23; 25) "'a" + R_ANGLE@[25; 26) + err: `expected a path` + err: `expected colon` WHITESPACE@[26; 27) BLOCK@[27; 29) L_CURLY@[27; 28) -- cgit v1.2.3