diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-20 18:45:24 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-20 18:45:24 +0000 |
commit | 057c95d3dd72725f13bfef25827b9034f19ba877 (patch) | |
tree | 67f280325c9bf3310b8a85f5d35dad2f2030c8c6 /crates/ra_syntax/tests/data/parser/inline/ok/0045_param_list_opt_patterns.txt | |
parent | c626e4a52688bfc63b9d29ed89025b61e00d4326 (diff) | |
parent | 0ffba1e8965a75d2c07a053a0803a186fb7fa1f7 (diff) |
Merge #299
299: Ensure that the parser errors or not for the parser tests r=matklad a=DJMcNab
Co-authored-by: DJMcNab <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0045_param_list_opt_patterns.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0045_param_list_opt_patterns.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0045_param_list_opt_patterns.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0045_param_list_opt_patterns.txt new file mode 100644 index 000000000..2ce7a6714 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0045_param_list_opt_patterns.txt | |||
@@ -0,0 +1,44 @@ | |||
1 | SOURCE_FILE@[0; 35) | ||
2 | FN_DEF@[0; 34) | ||
3 | FN_KW@[0; 2) | ||
4 | WHITESPACE@[2; 3) | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | TYPE_PARAM_LIST@[6; 30) | ||
8 | L_ANGLE@[6; 7) | ||
9 | TYPE_PARAM@[7; 29) | ||
10 | NAME@[7; 8) | ||
11 | IDENT@[7; 8) "F" | ||
12 | COLON@[8; 9) | ||
13 | WHITESPACE@[9; 10) | ||
14 | PATH_TYPE@[10; 29) | ||
15 | PATH@[10; 29) | ||
16 | PATH_SEGMENT@[10; 29) | ||
17 | NAME_REF@[10; 15) | ||
18 | IDENT@[10; 15) "FnMut" | ||
19 | PARAM_LIST@[15; 29) | ||
20 | L_PAREN@[15; 16) | ||
21 | PARAM@[16; 28) | ||
22 | REFERENCE_TYPE@[16; 28) | ||
23 | AMP@[16; 17) | ||
24 | MUT_KW@[17; 20) | ||
25 | WHITESPACE@[20; 21) | ||
26 | PATH_TYPE@[21; 28) | ||
27 | PATH@[21; 28) | ||
28 | PATH_SEGMENT@[21; 28) | ||
29 | NAME_REF@[21; 24) | ||
30 | IDENT@[21; 24) "Foo" | ||
31 | TYPE_ARG_LIST@[24; 28) | ||
32 | L_ANGLE@[24; 25) | ||
33 | LIFETIME_ARG@[25; 27) | ||
34 | LIFETIME@[25; 27) "'a" | ||
35 | R_ANGLE@[27; 28) | ||
36 | R_PAREN@[28; 29) | ||
37 | R_ANGLE@[29; 30) | ||
38 | PARAM_LIST@[30; 32) | ||
39 | L_PAREN@[30; 31) | ||
40 | R_PAREN@[31; 32) | ||
41 | BLOCK@[32; 34) | ||
42 | L_CURLY@[32; 33) | ||
43 | R_CURLY@[33; 34) | ||
44 | WHITESPACE@[34; 35) | ||