diff options
author | Geoffry Song <[email protected]> | 2019-10-06 00:30:10 +0100 |
---|---|---|
committer | Geoffry Song <[email protected]> | 2019-10-06 00:33:05 +0100 |
commit | b4fe06bc17127b6007114a8ba8bf876fdef112e0 (patch) | |
tree | 6670bc0dacbc94a9b4258cd11ef9d1c4839017a2 /crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.txt | |
parent | b63f260bbcf89a2b40358f534b97f672468294fb (diff) |
Move tests around
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.txt | 41 |
1 files changed, 7 insertions, 34 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.txt b/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.txt index d6334e55b..8f34afe76 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.txt +++ b/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 82) | 1 | SOURCE_FILE@[0; 52) |
2 | FN_DEF@[0; 81) | 2 | FN_DEF@[0; 51) |
3 | FN_KW@[0; 2) "fn" | 3 | FN_KW@[0; 2) "fn" |
4 | WHITESPACE@[2; 3) " " | 4 | WHITESPACE@[2; 3) " " |
5 | NAME@[3; 6) | 5 | NAME@[3; 6) |
@@ -8,8 +8,8 @@ SOURCE_FILE@[0; 82) | |||
8 | L_PAREN@[6; 7) "(" | 8 | L_PAREN@[6; 7) "(" |
9 | R_PAREN@[7; 8) ")" | 9 | R_PAREN@[7; 8) ")" |
10 | WHITESPACE@[8; 9) " " | 10 | WHITESPACE@[8; 9) " " |
11 | BLOCK_EXPR@[9; 81) | 11 | BLOCK_EXPR@[9; 51) |
12 | BLOCK@[9; 81) | 12 | BLOCK@[9; 51) |
13 | L_CURLY@[9; 10) "{" | 13 | L_CURLY@[9; 10) "{" |
14 | WHITESPACE@[10; 15) "\n " | 14 | WHITESPACE@[10; 15) "\n " |
15 | LET_STMT@[15; 26) | 15 | LET_STMT@[15; 26) |
@@ -50,33 +50,6 @@ SOURCE_FILE@[0; 82) | |||
50 | L_PAREN@[46; 47) "(" | 50 | L_PAREN@[46; 47) "(" |
51 | R_PAREN@[47; 48) ")" | 51 | R_PAREN@[47; 48) ")" |
52 | SEMI@[48; 49) ";" | 52 | SEMI@[48; 49) ";" |
53 | WHITESPACE@[49; 54) "\n " | 53 | WHITESPACE@[49; 50) "\n" |
54 | LET_STMT@[54; 79) | 54 | R_CURLY@[50; 51) "}" |
55 | LET_KW@[54; 57) "let" | 55 | WHITESPACE@[51; 52) "\n" |
56 | WHITESPACE@[57; 58) " " | ||
57 | PLACEHOLDER_PAT@[58; 59) | ||
58 | UNDERSCORE@[58; 59) "_" | ||
59 | WHITESPACE@[59; 60) " " | ||
60 | EQ@[60; 61) "=" | ||
61 | WHITESPACE@[61; 62) " " | ||
62 | CAST_EXPR@[62; 78) | ||
63 | REF_EXPR@[62; 64) | ||
64 | AMP@[62; 63) "&" | ||
65 | LITERAL@[63; 64) | ||
66 | INT_NUMBER@[63; 64) "1" | ||
67 | WHITESPACE@[64; 65) " " | ||
68 | AS_KW@[65; 67) "as" | ||
69 | WHITESPACE@[67; 68) " " | ||
70 | POINTER_TYPE@[68; 78) | ||
71 | STAR@[68; 69) "*" | ||
72 | CONST_KW@[69; 74) "const" | ||
73 | WHITESPACE@[74; 75) " " | ||
74 | PATH_TYPE@[75; 78) | ||
75 | PATH@[75; 78) | ||
76 | PATH_SEGMENT@[75; 78) | ||
77 | NAME_REF@[75; 78) | ||
78 | IDENT@[75; 78) "i32" | ||
79 | SEMI@[78; 79) ";" | ||
80 | WHITESPACE@[79; 80) "\n" | ||
81 | R_CURLY@[80; 81) "}" | ||
82 | WHITESPACE@[81; 82) "\n" | ||