aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.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/inline/ok/0095_placeholder_pat.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/inline/ok/0095_placeholder_pat.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.txt29
1 files changed, 0 insertions, 29 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.txt b/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.txt
deleted file mode 100644
index fe86894a9..000000000
--- a/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.txt
+++ /dev/null
@@ -1,29 +0,0 @@
1SOURCE_FILE@[0; 26)
2 FN_DEF@[0; 25)
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; 25)
12 BLOCK@[10; 25)
13 L_CURLY@[10; 11) "{"
14 WHITESPACE@[11; 12) " "
15 LET_STMT@[12; 23)
16 LET_KW@[12; 15) "let"
17 WHITESPACE@[15; 16) " "
18 PLACEHOLDER_PAT@[16; 17)
19 UNDERSCORE@[16; 17) "_"
20 WHITESPACE@[17; 18) " "
21 EQ@[18; 19) "="
22 WHITESPACE@[19; 20) " "
23 TUPLE_EXPR@[20; 22)
24 L_PAREN@[20; 21) "("
25 R_PAREN@[21; 22) ")"
26 SEMI@[22; 23) ";"
27 WHITESPACE@[23; 24) " "
28 R_CURLY@[24; 25) "}"
29 WHITESPACE@[25; 26) "\n"