aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.txt
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-04-06 12:04:26 +0100
committerveetaha <[email protected]>2020-04-06 12:04:26 +0100
commitda091b130347c4d6d8c75acb8e65c30a17dc1f5e (patch)
treef97939669a700ed80a64086b1f0aefd530bc9bea /crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.txt
parentec3fb1cdb4f1808a11fb6057550ed721c2aa36a9 (diff)
Migrate tests .txt -> .rast
The sytax tree output files now use .rast extension (rust-analyzer syntax tree or rust abstract syntax tree (whatever)). This format has a editors/code/ra_syntax_tree.tmGrammar.json declaration that supplies nice syntax highlighting for .rast files.
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.txt32
1 files changed, 0 insertions, 32 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.txt b/crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.txt
deleted file mode 100644
index f9b1dcf1a..000000000
--- a/crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.txt
+++ /dev/null
@@ -1,32 +0,0 @@
1SOURCE_FILE@[0; 34)
2 FN_DEF@[0; 33)
3 FN_KW@[0; 2) "fn"
4 WHITESPACE@[2; 3) " "
5 NAME@[3; 7)
6 IDENT@[3; 7) "main"
7 PARAM_LIST@[7; 9)
8 L_PAREN@[7; 8) "("
9 R_PAREN@[8; 9) ")"
10 WHITESPACE@[9; 10) " "
11 BLOCK_EXPR@[10; 33)
12 BLOCK@[10; 33)
13 L_CURLY@[10; 11) "{"
14 WHITESPACE@[11; 16) "\n "
15 FN_DEF@[16; 31)
16 CONST_KW@[16; 21) "const"
17 WHITESPACE@[21; 22) " "
18 FN_KW@[22; 24) "fn"
19 WHITESPACE@[24; 25) " "
20 NAME@[25; 26)
21 IDENT@[25; 26) "f"
22 PARAM_LIST@[26; 28)
23 L_PAREN@[26; 27) "("
24 R_PAREN@[27; 28) ")"
25 WHITESPACE@[28; 29) " "
26 BLOCK_EXPR@[29; 31)
27 BLOCK@[29; 31)
28 L_CURLY@[29; 30) "{"
29 R_CURLY@[30; 31) "}"
30 WHITESPACE@[31; 32) "\n"
31 R_CURLY@[32; 33) "}"
32 WHITESPACE@[33; 34) "\n"