diff options
author | Erlend Tobiassen <[email protected]> | 2019-01-22 13:32:23 +0000 |
---|---|---|
committer | Erlend Tobiassen <[email protected]> | 2019-01-22 13:32:23 +0000 |
commit | 8198cde13b8dc7c04190e5341bce3f6a0315e99b (patch) | |
tree | 82055bb2f22705916bec975bc5bf813e733e26ec /crates/ra_syntax/tests/data/parser/ok/0038_where_pred_type.txt | |
parent | 2b22f5fb4398378d999db98ea270ceb415dfff22 (diff) |
Update tests after allowing where predicate to accept types
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/ok/0038_where_pred_type.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/ok/0038_where_pred_type.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/ok/0038_where_pred_type.txt b/crates/ra_syntax/tests/data/parser/ok/0038_where_pred_type.txt new file mode 100644 index 000000000..4842e9b90 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/ok/0038_where_pred_type.txt | |||
@@ -0,0 +1,40 @@ | |||
1 | SOURCE_FILE@[0; 34) | ||
2 | FN_DEF@[0; 34) | ||
3 | FN_KW@[0; 2) | ||
4 | WHITESPACE@[2; 3) | ||
5 | NAME@[3; 7) | ||
6 | IDENT@[3; 7) "test" | ||
7 | PARAM_LIST@[7; 9) | ||
8 | L_PAREN@[7; 8) | ||
9 | R_PAREN@[8; 9) | ||
10 | WHITESPACE@[9; 10) | ||
11 | WHERE_CLAUSE@[10; 31) | ||
12 | WHERE_KW@[10; 15) | ||
13 | WHITESPACE@[15; 16) | ||
14 | WHERE_PRED@[16; 31) | ||
15 | TUPLE_TYPE@[16; 26) | ||
16 | L_PAREN@[16; 17) | ||
17 | PATH_TYPE@[17; 20) | ||
18 | PATH@[17; 20) | ||
19 | PATH_SEGMENT@[17; 20) | ||
20 | NAME_REF@[17; 20) | ||
21 | IDENT@[17; 20) "u64" | ||
22 | COMMA@[20; 21) | ||
23 | WHITESPACE@[21; 22) | ||
24 | PATH_TYPE@[22; 25) | ||
25 | PATH@[22; 25) | ||
26 | PATH_SEGMENT@[22; 25) | ||
27 | NAME_REF@[22; 25) | ||
28 | IDENT@[22; 25) "u64" | ||
29 | R_PAREN@[25; 26) | ||
30 | COLON@[26; 27) | ||
31 | WHITESPACE@[27; 28) | ||
32 | PATH_TYPE@[28; 31) | ||
33 | PATH@[28; 31) | ||
34 | PATH_SEGMENT@[28; 31) | ||
35 | NAME_REF@[28; 31) | ||
36 | IDENT@[28; 31) "Foo" | ||
37 | WHITESPACE@[31; 32) | ||
38 | BLOCK@[32; 34) | ||
39 | L_CURLY@[32; 33) | ||
40 | R_CURLY@[33; 34) | ||