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/0131_existential_type.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0131_existential_type.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0131_existential_type.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0131_existential_type.txt b/crates/ra_syntax/test_data/parser/inline/ok/0131_existential_type.txt new file mode 100644 index 000000000..6bfac985a --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0131_existential_type.txt | |||
@@ -0,0 +1,31 @@ | |||
1 | SOURCE_FILE@[0; 37) | ||
2 | TYPE_ALIAS_DEF@[0; 36) | ||
3 | EXISTENTIAL_KW@[0; 11) "existential" | ||
4 | WHITESPACE@[11; 12) " " | ||
5 | TYPE_KW@[12; 16) "type" | ||
6 | WHITESPACE@[16; 17) " " | ||
7 | NAME@[17; 20) | ||
8 | IDENT@[17; 20) "Foo" | ||
9 | COLON@[20; 21) ":" | ||
10 | WHITESPACE@[21; 22) " " | ||
11 | TYPE_BOUND_LIST@[22; 35) | ||
12 | TYPE_BOUND@[22; 35) | ||
13 | PATH_TYPE@[22; 35) | ||
14 | PATH@[22; 35) | ||
15 | PATH_SEGMENT@[22; 35) | ||
16 | NAME_REF@[22; 24) | ||
17 | IDENT@[22; 24) "Fn" | ||
18 | PARAM_LIST@[24; 26) | ||
19 | L_PAREN@[24; 25) "(" | ||
20 | R_PAREN@[25; 26) ")" | ||
21 | WHITESPACE@[26; 27) " " | ||
22 | RET_TYPE@[27; 35) | ||
23 | THIN_ARROW@[27; 29) "->" | ||
24 | WHITESPACE@[29; 30) " " | ||
25 | PATH_TYPE@[30; 35) | ||
26 | PATH@[30; 35) | ||
27 | PATH_SEGMENT@[30; 35) | ||
28 | NAME_REF@[30; 35) | ||
29 | IDENT@[30; 35) "usize" | ||
30 | SEMI@[35; 36) ";" | ||
31 | WHITESPACE@[36; 37) "\n" | ||