diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast new file mode 100644 index 000000000..072dc9d16 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast | |||
@@ -0,0 +1,19 @@ | |||
1 | SOURCE_FILE@[0; 25) | ||
2 | FN_DEF@[0; 24) | ||
3 | CONST_KW@[0; 5) "const" | ||
4 | WHITESPACE@[5; 6) " " | ||
5 | UNSAFE_KW@[6; 12) "unsafe" | ||
6 | WHITESPACE@[12; 13) " " | ||
7 | FN_KW@[13; 15) "fn" | ||
8 | WHITESPACE@[15; 16) " " | ||
9 | NAME@[16; 19) | ||
10 | IDENT@[16; 19) "foo" | ||
11 | PARAM_LIST@[19; 21) | ||
12 | L_PAREN@[19; 20) "(" | ||
13 | R_PAREN@[20; 21) ")" | ||
14 | WHITESPACE@[21; 22) " " | ||
15 | BLOCK_EXPR@[22; 24) | ||
16 | BLOCK@[22; 24) | ||
17 | L_CURLY@[22; 23) "{" | ||
18 | R_CURLY@[23; 24) "}" | ||
19 | WHITESPACE@[24; 25) "\n" | ||