diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast b/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast index 61d737abe..5339a84d7 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast | |||
@@ -1,53 +1,53 @@ | |||
1 | SOURCE_FILE@[0; 47) | 1 | SOURCE_FILE@0..47 |
2 | FN_DEF@[0; 46) | 2 | FN_DEF@0..46 |
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 |
6 | IDENT@[3; 6) "foo" | 6 | IDENT@3..6 "foo" |
7 | PARAM_LIST@[6; 8) | 7 | PARAM_LIST@6..8 |
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; 46) | 11 | BLOCK_EXPR@9..46 |
12 | BLOCK@[9; 46) | 12 | BLOCK@9..46 |
13 | L_CURLY@[9; 10) "{" | 13 | L_CURLY@9..10 "{" |
14 | WHITESPACE@[10; 15) "\n " | 14 | WHITESPACE@10..15 "\n " |
15 | EXPR_STMT@[15; 20) | 15 | EXPR_STMT@15..20 |
16 | FIELD_EXPR@[15; 19) | 16 | FIELD_EXPR@15..19 |
17 | PATH_EXPR@[15; 16) | 17 | PATH_EXPR@15..16 |
18 | PATH@[15; 16) | 18 | PATH@15..16 |
19 | PATH_SEGMENT@[15; 16) | 19 | PATH_SEGMENT@15..16 |
20 | NAME_REF@[15; 16) | 20 | NAME_REF@15..16 |
21 | IDENT@[15; 16) "x" | 21 | IDENT@15..16 "x" |
22 | DOT@[16; 17) "." | 22 | DOT@16..17 "." |
23 | FLOAT_NUMBER@[17; 19) "0." | 23 | FLOAT_NUMBER@17..19 "0." |
24 | SEMICOLON@[19; 20) ";" | 24 | SEMICOLON@19..20 ";" |
25 | WHITESPACE@[20; 25) "\n " | 25 | WHITESPACE@20..25 "\n " |
26 | EXPR_STMT@[25; 32) | 26 | EXPR_STMT@25..32 |
27 | FIELD_EXPR@[25; 31) | 27 | FIELD_EXPR@25..31 |
28 | PATH_EXPR@[25; 26) | 28 | PATH_EXPR@25..26 |
29 | PATH@[25; 26) | 29 | PATH@25..26 |
30 | PATH_SEGMENT@[25; 26) | 30 | PATH_SEGMENT@25..26 |
31 | NAME_REF@[25; 26) | 31 | NAME_REF@25..26 |
32 | IDENT@[25; 26) "x" | 32 | IDENT@25..26 "x" |
33 | DOT@[26; 27) "." | 33 | DOT@26..27 "." |
34 | NAME_REF@[27; 31) | 34 | NAME_REF@27..31 |
35 | INT_NUMBER@[27; 31) "1i32" | 35 | INT_NUMBER@27..31 "1i32" |
36 | SEMICOLON@[31; 32) ";" | 36 | SEMICOLON@31..32 ";" |
37 | WHITESPACE@[32; 37) "\n " | 37 | WHITESPACE@32..37 "\n " |
38 | EXPR_STMT@[37; 44) | 38 | EXPR_STMT@37..44 |
39 | FIELD_EXPR@[37; 43) | 39 | FIELD_EXPR@37..43 |
40 | PATH_EXPR@[37; 38) | 40 | PATH_EXPR@37..38 |
41 | PATH@[37; 38) | 41 | PATH@37..38 |
42 | PATH_SEGMENT@[37; 38) | 42 | PATH_SEGMENT@37..38 |
43 | NAME_REF@[37; 38) | 43 | NAME_REF@37..38 |
44 | IDENT@[37; 38) "x" | 44 | IDENT@37..38 "x" |
45 | DOT@[38; 39) "." | 45 | DOT@38..39 "." |
46 | NAME_REF@[39; 43) | 46 | NAME_REF@39..43 |
47 | INT_NUMBER@[39; 43) "0x01" | 47 | INT_NUMBER@39..43 "0x01" |
48 | SEMICOLON@[43; 44) ";" | 48 | SEMICOLON@43..44 ";" |
49 | WHITESPACE@[44; 45) "\n" | 49 | WHITESPACE@44..45 "\n" |
50 | R_CURLY@[45; 46) "}" | 50 | R_CURLY@45..46 "}" |
51 | WHITESPACE@[46; 47) "\n" | 51 | WHITESPACE@46..47 "\n" |
52 | error [27; 31): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix | 52 | error 27..31: Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix |
53 | error [39; 43): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix | 53 | error 39..43: Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix |