aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests/data/parser/inline/ok/0005_function_type_params.txt
diff options
context:
space:
mode:
authorDJMcNab <[email protected]>2018-12-20 16:45:54 +0000
committerDJMcNab <[email protected]>2018-12-20 16:45:54 +0000
commit134fe4f566d94fd4ca91c6417fab0ae7b3e4275f (patch)
tree54d5d31d8df65982163e1ff735e1461d672d8376 /crates/ra_syntax/tests/data/parser/inline/ok/0005_function_type_params.txt
parent466885aa5bad53732786380f7579880fe2fd5645 (diff)
Fix the tests and fix the precommit hook
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0005_function_type_params.txt')
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/ok/0005_function_type_params.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0005_function_type_params.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0005_function_type_params.txt
new file mode 100644
index 000000000..b20f13267
--- /dev/null
+++ b/crates/ra_syntax/tests/data/parser/inline/ok/0005_function_type_params.txt
@@ -0,0 +1,34 @@
1SOURCE_FILE@[0; 28)
2 FN_DEF@[0; 27)
3 FN_KW@[0; 2)
4 WHITESPACE@[2; 3)
5 NAME@[3; 6)
6 IDENT@[3; 6) "foo"
7 TYPE_PARAM_LIST@[6; 23)
8 L_ANGLE@[6; 7)
9 TYPE_PARAM@[7; 22)
10 NAME@[7; 8)
11 IDENT@[7; 8) "T"
12 COLON@[8; 9)
13 WHITESPACE@[9; 10)
14 PATH_TYPE@[10; 22)
15 PATH@[10; 15)
16 PATH_SEGMENT@[10; 15)
17 NAME_REF@[10; 15)
18 IDENT@[10; 15) "Clone"
19 WHITESPACE@[15; 16)
20 PLUS@[16; 17)
21 WHITESPACE@[17; 18)
22 PATH_TYPE@[18; 22)
23 PATH@[18; 22)
24 PATH_SEGMENT@[18; 22)
25 NAME_REF@[18; 22)
26 IDENT@[18; 22) "Copy"
27 R_ANGLE@[22; 23)
28 PARAM_LIST@[23; 25)
29 L_PAREN@[23; 24)
30 R_PAREN@[24; 25)
31 BLOCK@[25; 27)
32 L_CURLY@[25; 26)
33 R_CURLY@[26; 27)
34 WHITESPACE@[27; 28)