diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/tests/data/parser/ok/0044_let_attrs.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/ok/0044_let_attrs.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/ok/0044_let_attrs.txt | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/crates/ra_syntax/tests/data/parser/ok/0044_let_attrs.txt b/crates/ra_syntax/tests/data/parser/ok/0044_let_attrs.txt deleted file mode 100644 index b928adaad..000000000 --- a/crates/ra_syntax/tests/data/parser/ok/0044_let_attrs.txt +++ /dev/null | |||
@@ -1,73 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 166) | ||
2 | FN_DEF@[0; 165) | ||
3 | COMMENT@[0; 60) "// https://github.com ..." | ||
4 | WHITESPACE@[60; 61) "\n" | ||
5 | FN_KW@[61; 63) "fn" | ||
6 | WHITESPACE@[63; 64) " " | ||
7 | NAME@[64; 68) | ||
8 | IDENT@[64; 68) "main" | ||
9 | PARAM_LIST@[68; 70) | ||
10 | L_PAREN@[68; 69) "(" | ||
11 | R_PAREN@[69; 70) ")" | ||
12 | WHITESPACE@[70; 71) " " | ||
13 | BLOCK@[71; 165) | ||
14 | L_CURLY@[71; 72) "{" | ||
15 | WHITESPACE@[72; 77) "\n " | ||
16 | LET_STMT@[77; 163) | ||
17 | ATTR@[77; 106) | ||
18 | POUND@[77; 78) "#" | ||
19 | TOKEN_TREE@[78; 106) | ||
20 | L_BRACK@[78; 79) "[" | ||
21 | IDENT@[79; 82) "cfg" | ||
22 | TOKEN_TREE@[82; 105) | ||
23 | L_PAREN@[82; 83) "(" | ||
24 | IDENT@[83; 90) "feature" | ||
25 | WHITESPACE@[90; 91) " " | ||
26 | EQ@[91; 92) "=" | ||
27 | WHITESPACE@[92; 93) " " | ||
28 | STRING@[93; 104) "\"backtrace\"" | ||
29 | R_PAREN@[104; 105) ")" | ||
30 | R_BRACK@[105; 106) "]" | ||
31 | WHITESPACE@[106; 111) "\n " | ||
32 | LET_KW@[111; 114) "let" | ||
33 | WHITESPACE@[114; 115) " " | ||
34 | BIND_PAT@[115; 124) | ||
35 | NAME@[115; 124) | ||
36 | IDENT@[115; 124) "exit_code" | ||
37 | WHITESPACE@[124; 125) " " | ||
38 | EQ@[125; 126) "=" | ||
39 | WHITESPACE@[126; 127) " " | ||
40 | CALL_EXPR@[127; 162) | ||
41 | PATH_EXPR@[127; 146) | ||
42 | PATH@[127; 146) | ||
43 | PATH@[127; 132) | ||
44 | PATH_SEGMENT@[127; 132) | ||
45 | NAME_REF@[127; 132) | ||
46 | IDENT@[127; 132) "panic" | ||
47 | COLONCOLON@[132; 134) "::" | ||
48 | PATH_SEGMENT@[134; 146) | ||
49 | NAME_REF@[134; 146) | ||
50 | IDENT@[134; 146) "catch_unwind" | ||
51 | ARG_LIST@[146; 162) | ||
52 | L_PAREN@[146; 147) "(" | ||
53 | LAMBDA_EXPR@[147; 161) | ||
54 | MOVE_KW@[147; 151) "move" | ||
55 | WHITESPACE@[151; 152) " " | ||
56 | PARAM_LIST@[152; 154) | ||
57 | PIPE@[152; 153) "|" | ||
58 | PIPE@[153; 154) "|" | ||
59 | WHITESPACE@[154; 155) " " | ||
60 | CALL_EXPR@[155; 161) | ||
61 | PATH_EXPR@[155; 159) | ||
62 | PATH@[155; 159) | ||
63 | PATH_SEGMENT@[155; 159) | ||
64 | NAME_REF@[155; 159) | ||
65 | IDENT@[155; 159) "main" | ||
66 | ARG_LIST@[159; 161) | ||
67 | L_PAREN@[159; 160) "(" | ||
68 | R_PAREN@[160; 161) ")" | ||
69 | R_PAREN@[161; 162) ")" | ||
70 | SEMI@[162; 163) ";" | ||
71 | WHITESPACE@[163; 164) "\n" | ||
72 | R_CURLY@[164; 165) "}" | ||
73 | WHITESPACE@[165; 166) "\n" | ||