diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-22 13:49:33 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-22 13:49:33 +0000 |
commit | 9e0abfc0c9b9d36c45c9d8567c632c0167b31084 (patch) | |
tree | dca47e7881e8a19507e6effb7642109b2e0be992 /crates/ra_syntax/tests/data/parser/inline | |
parent | e396cb3548c8a36ba505cc08248333c225e56d2a (diff) | |
parent | 84f888e93ddfcaa573f65ddf49180a4665f14b50 (diff) |
Merge #592
592: Allow types to the left of `:` in where predicates r=matklad a=regiontog
Adresses #584
Co-authored-by: Erlend Tobiassen <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0003_where_pred_for.txt | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0003_where_pred_for.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0003_where_pred_for.txt index 921bdacf4..41420ea92 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0003_where_pred_for.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0003_where_pred_for.txt | |||
@@ -18,18 +18,19 @@ SOURCE_FILE@[0; 49) | |||
18 | WHERE_KW@[13; 18) | 18 | WHERE_KW@[13; 18) |
19 | WHITESPACE@[18; 22) | 19 | WHITESPACE@[18; 22) |
20 | WHERE_PRED@[22; 44) | 20 | WHERE_PRED@[22; 44) |
21 | FOR_KW@[22; 25) | 21 | FOR_TYPE@[22; 31) |
22 | TYPE_PARAM_LIST@[25; 29) | 22 | FOR_KW@[22; 25) |
23 | L_ANGLE@[25; 26) | 23 | TYPE_PARAM_LIST@[25; 29) |
24 | LIFETIME_PARAM@[26; 28) | 24 | L_ANGLE@[25; 26) |
25 | LIFETIME@[26; 28) "'a" | 25 | LIFETIME_PARAM@[26; 28) |
26 | R_ANGLE@[28; 29) | 26 | LIFETIME@[26; 28) "'a" |
27 | WHITESPACE@[29; 30) | 27 | R_ANGLE@[28; 29) |
28 | PATH_TYPE@[30; 31) | 28 | WHITESPACE@[29; 30) |
29 | PATH@[30; 31) | 29 | PATH_TYPE@[30; 31) |
30 | PATH_SEGMENT@[30; 31) | 30 | PATH@[30; 31) |
31 | NAME_REF@[30; 31) | 31 | PATH_SEGMENT@[30; 31) |
32 | IDENT@[30; 31) "F" | 32 | NAME_REF@[30; 31) |
33 | IDENT@[30; 31) "F" | ||
33 | COLON@[31; 32) | 34 | COLON@[31; 32) |
34 | WHITESPACE@[32; 33) | 35 | WHITESPACE@[32; 33) |
35 | PATH_TYPE@[33; 44) | 36 | PATH_TYPE@[33; 44) |