diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast b/crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast new file mode 100644 index 000000000..fae822367 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast | |||
@@ -0,0 +1,23 @@ | |||
1 | SOURCE_FILE@[0; 21) | ||
2 | TYPE_ALIAS_DEF@[0; 20) | ||
3 | TYPE_KW@[0; 4) "type" | ||
4 | WHITESPACE@[4; 5) " " | ||
5 | NAME@[5; 6) | ||
6 | IDENT@[5; 6) "F" | ||
7 | WHITESPACE@[6; 7) " " | ||
8 | EQ@[7; 8) "=" | ||
9 | WHITESPACE@[8; 9) " " | ||
10 | FN_POINTER_TYPE@[9; 19) | ||
11 | FN_KW@[9; 11) "fn" | ||
12 | PARAM_LIST@[11; 13) | ||
13 | L_PAREN@[11; 12) "(" | ||
14 | R_PAREN@[12; 13) ")" | ||
15 | WHITESPACE@[13; 14) " " | ||
16 | RET_TYPE@[14; 19) | ||
17 | THIN_ARROW@[14; 16) "->" | ||
18 | WHITESPACE@[16; 17) " " | ||
19 | TUPLE_TYPE@[17; 19) | ||
20 | L_PAREN@[17; 18) "(" | ||
21 | R_PAREN@[18; 19) ")" | ||
22 | SEMI@[19; 20) ";" | ||
23 | WHITESPACE@[20; 21) "\n" | ||