From 3f62ab8f510fdac1eeab515c515c437d6dd141e6 Mon Sep 17 00:00:00 2001 From: Ville Penttinen Date: Sun, 24 Mar 2019 19:45:11 +0200 Subject: Add WherePred to allow predicate access in WhereClause This also unifies parsing of WHERE_PRED bounds, now Lifetime bounds will also be parsed using TYPE_BOUND_LIST --- .../tests/data/parser/inline/ok/0056_where_clause.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'crates/ra_syntax/tests/data/parser/inline') diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0056_where_clause.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0056_where_clause.txt index e04b61eb3..77a62ab4d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0056_where_clause.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0056_where_clause.txt @@ -15,11 +15,14 @@ SOURCE_FILE@[0; 116) LIFETIME@[18; 20) "'a" COLON@[20; 21) WHITESPACE@[21; 22) - LIFETIME@[22; 24) "'b" - WHITESPACE@[24; 25) - PLUS@[25; 26) - WHITESPACE@[26; 27) - LIFETIME@[27; 29) "'c" + TYPE_BOUND_LIST@[22; 29) + TYPE_BOUND@[22; 24) + LIFETIME@[22; 24) "'b" + WHITESPACE@[24; 25) + PLUS@[25; 26) + WHITESPACE@[26; 27) + TYPE_BOUND@[27; 29) + LIFETIME@[27; 29) "'c" COMMA@[29; 30) WHITESPACE@[30; 34) WHERE_PRED@[34; 59) -- cgit v1.2.3