diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rast | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rast b/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rast new file mode 100644 index 000000000..a983d5954 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rast | |||
@@ -0,0 +1,41 @@ | |||
1 | SOURCE_FILE@[0; 29) | ||
2 | TYPE_ALIAS_DEF@[0; 28) | ||
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 | PATH_TYPE@[9; 27) | ||
11 | PATH@[9; 27) | ||
12 | PATH_SEGMENT@[9; 27) | ||
13 | NAME_REF@[9; 12) | ||
14 | IDENT@[9; 12) "Box" | ||
15 | TYPE_ARG_LIST@[12; 27) | ||
16 | L_ANGLE@[12; 13) "<" | ||
17 | TYPE_ARG@[13; 26) | ||
18 | PATH_TYPE@[13; 26) | ||
19 | PATH@[13; 26) | ||
20 | PATH_SEGMENT@[13; 26) | ||
21 | NAME_REF@[13; 15) | ||
22 | IDENT@[13; 15) "Fn" | ||
23 | PARAM_LIST@[15; 20) | ||
24 | L_PAREN@[15; 16) "(" | ||
25 | PARAM@[16; 19) | ||
26 | PATH_TYPE@[16; 19) | ||
27 | PATH@[16; 19) | ||
28 | PATH_SEGMENT@[16; 19) | ||
29 | NAME_REF@[16; 19) | ||
30 | IDENT@[16; 19) "i32" | ||
31 | R_PAREN@[19; 20) ")" | ||
32 | WHITESPACE@[20; 21) " " | ||
33 | RET_TYPE@[21; 26) | ||
34 | THIN_ARROW@[21; 23) "->" | ||
35 | WHITESPACE@[23; 24) " " | ||
36 | TUPLE_TYPE@[24; 26) | ||
37 | L_PAREN@[24; 25) "(" | ||
38 | R_PAREN@[25; 26) ")" | ||
39 | R_ANGLE@[26; 27) ">" | ||
40 | SEMI@[27; 28) ";" | ||
41 | WHITESPACE@[28; 29) "\n" | ||