diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.txt b/crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.txt new file mode 100644 index 000000000..2ee0dc199 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.txt | |||
@@ -0,0 +1,43 @@ | |||
1 | SOURCE_FILE@[0; 42) | ||
2 | TYPE_ALIAS_DEF@[0; 41) | ||
3 | TYPE_KW@[0; 4) "type" | ||
4 | WHITESPACE@[4; 5) " " | ||
5 | NAME@[5; 6) | ||
6 | IDENT@[5; 6) "A" | ||
7 | WHITESPACE@[6; 7) " " | ||
8 | EQ@[7; 8) "=" | ||
9 | WHITESPACE@[8; 9) " " | ||
10 | DYN_TRAIT_TYPE@[9; 40) | ||
11 | DYN_KW@[9; 12) "dyn" | ||
12 | WHITESPACE@[12; 13) " " | ||
13 | TYPE_BOUND_LIST@[13; 40) | ||
14 | TYPE_BOUND@[13; 35) | ||
15 | PATH_TYPE@[13; 35) | ||
16 | PATH@[13; 35) | ||
17 | PATH_SEGMENT@[13; 35) | ||
18 | NAME_REF@[13; 21) | ||
19 | IDENT@[13; 21) "Iterator" | ||
20 | TYPE_ARG_LIST@[21; 35) | ||
21 | L_ANGLE@[21; 22) "<" | ||
22 | ASSOC_TYPE_ARG@[22; 34) | ||
23 | NAME_REF@[22; 26) | ||
24 | IDENT@[22; 26) "Item" | ||
25 | EQ@[26; 27) "=" | ||
26 | PATH_TYPE@[27; 34) | ||
27 | PATH@[27; 34) | ||
28 | PATH_SEGMENT@[27; 34) | ||
29 | NAME_REF@[27; 30) | ||
30 | IDENT@[27; 30) "Foo" | ||
31 | TYPE_ARG_LIST@[30; 34) | ||
32 | L_ANGLE@[30; 31) "<" | ||
33 | LIFETIME_ARG@[31; 33) | ||
34 | LIFETIME@[31; 33) "\'a" | ||
35 | R_ANGLE@[33; 34) ">" | ||
36 | R_ANGLE@[34; 35) ">" | ||
37 | WHITESPACE@[35; 36) " " | ||
38 | PLUS@[36; 37) "+" | ||
39 | WHITESPACE@[37; 38) " " | ||
40 | TYPE_BOUND@[38; 40) | ||
41 | LIFETIME@[38; 40) "\'a" | ||
42 | SEMI@[40; 41) ";" | ||
43 | WHITESPACE@[41; 42) "\n" | ||