aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-07-24 10:38:21 +0100
committerAleksey Kladov <[email protected]>2019-07-24 10:49:19 +0100
commit459241f272748ff2e57b2c7e84f5a04f78d67edb (patch)
tree2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt
parent4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff)
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt b/crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt
new file mode 100644
index 000000000..fae822367
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt
@@ -0,0 +1,23 @@
1SOURCE_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"