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/0028_impl_trait_type.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0028_impl_trait_type.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0028_impl_trait_type.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0028_impl_trait_type.txt b/crates/ra_syntax/test_data/parser/inline/ok/0028_impl_trait_type.txt new file mode 100644 index 000000000..f07027fa7 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0028_impl_trait_type.txt | |||
@@ -0,0 +1,43 @@ | |||
1 | SOURCE_FILE@[0; 43) | ||
2 | TYPE_ALIAS_DEF@[0; 42) | ||
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 | IMPL_TRAIT_TYPE@[9; 41) | ||
11 | IMPL_KW@[9; 13) "impl" | ||
12 | WHITESPACE@[13; 14) " " | ||
13 | TYPE_BOUND_LIST@[14; 41) | ||
14 | TYPE_BOUND@[14; 36) | ||
15 | PATH_TYPE@[14; 36) | ||
16 | PATH@[14; 36) | ||
17 | PATH_SEGMENT@[14; 36) | ||
18 | NAME_REF@[14; 22) | ||
19 | IDENT@[14; 22) "Iterator" | ||
20 | TYPE_ARG_LIST@[22; 36) | ||
21 | L_ANGLE@[22; 23) "<" | ||
22 | ASSOC_TYPE_ARG@[23; 35) | ||
23 | NAME_REF@[23; 27) | ||
24 | IDENT@[23; 27) "Item" | ||
25 | EQ@[27; 28) "=" | ||
26 | PATH_TYPE@[28; 35) | ||
27 | PATH@[28; 35) | ||
28 | PATH_SEGMENT@[28; 35) | ||
29 | NAME_REF@[28; 31) | ||
30 | IDENT@[28; 31) "Foo" | ||
31 | TYPE_ARG_LIST@[31; 35) | ||
32 | L_ANGLE@[31; 32) "<" | ||
33 | LIFETIME_ARG@[32; 34) | ||
34 | LIFETIME@[32; 34) "\'a" | ||
35 | R_ANGLE@[34; 35) ">" | ||
36 | R_ANGLE@[35; 36) ">" | ||
37 | WHITESPACE@[36; 37) " " | ||
38 | PLUS@[37; 38) "+" | ||
39 | WHITESPACE@[38; 39) " " | ||
40 | TYPE_BOUND@[39; 41) | ||
41 | LIFETIME@[39; 41) "\'a" | ||
42 | SEMI@[41; 42) ";" | ||
43 | WHITESPACE@[42; 43) "\n" | ||