diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast new file mode 100644 index 000000000..e627b9746 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast | |||
@@ -0,0 +1,26 @@ | |||
1 | SOURCE_FILE@[0; 26) | ||
2 | FN_DEF@[0; 25) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 4) | ||
6 | IDENT@[3; 4) "f" | ||
7 | PARAM_LIST@[4; 22) | ||
8 | L_PAREN@[4; 5) "(" | ||
9 | ATTR@[5; 16) | ||
10 | POUND@[5; 6) "#" | ||
11 | L_BRACK@[6; 7) "[" | ||
12 | PATH@[7; 15) | ||
13 | PATH_SEGMENT@[7; 15) | ||
14 | NAME_REF@[7; 15) | ||
15 | IDENT@[7; 15) "must_use" | ||
16 | R_BRACK@[15; 16) "]" | ||
17 | WHITESPACE@[16; 17) " " | ||
18 | SELF_PARAM@[17; 21) | ||
19 | SELF_KW@[17; 21) "self" | ||
20 | R_PAREN@[21; 22) ")" | ||
21 | WHITESPACE@[22; 23) " " | ||
22 | BLOCK_EXPR@[23; 25) | ||
23 | BLOCK@[23; 25) | ||
24 | L_CURLY@[23; 24) "{" | ||
25 | R_CURLY@[24; 25) "}" | ||
26 | WHITESPACE@[25; 26) "\n" | ||