diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/err')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.txt b/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.txt index a21b29c80..465e79e7b 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.txt +++ b/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.txt | |||
@@ -30,7 +30,8 @@ SOURCE_FILE@[0; 47) | |||
30 | NAME_REF@[25; 26) | 30 | NAME_REF@[25; 26) |
31 | IDENT@[25; 26) "x" | 31 | IDENT@[25; 26) "x" |
32 | DOT@[26; 27) "." | 32 | DOT@[26; 27) "." |
33 | INT_NUMBER@[27; 31) "1i32" | 33 | NAME_REF@[27; 31) |
34 | INT_NUMBER@[27; 31) "1i32" | ||
34 | SEMI@[31; 32) ";" | 35 | SEMI@[31; 32) ";" |
35 | WHITESPACE@[32; 37) "\n " | 36 | WHITESPACE@[32; 37) "\n " |
36 | EXPR_STMT@[37; 44) | 37 | EXPR_STMT@[37; 44) |
@@ -41,11 +42,11 @@ SOURCE_FILE@[0; 47) | |||
41 | NAME_REF@[37; 38) | 42 | NAME_REF@[37; 38) |
42 | IDENT@[37; 38) "x" | 43 | IDENT@[37; 38) "x" |
43 | DOT@[38; 39) "." | 44 | DOT@[38; 39) "." |
44 | INT_NUMBER@[39; 43) "0x01" | 45 | NAME_REF@[39; 43) |
46 | INT_NUMBER@[39; 43) "0x01" | ||
45 | SEMI@[43; 44) ";" | 47 | SEMI@[43; 44) ";" |
46 | WHITESPACE@[44; 45) "\n" | 48 | WHITESPACE@[44; 45) "\n" |
47 | R_CURLY@[45; 46) "}" | 49 | R_CURLY@[45; 46) "}" |
48 | WHITESPACE@[46; 47) "\n" | 50 | WHITESPACE@[46; 47) "\n" |
49 | error [17; 19): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix | ||
50 | error [27; 31): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix | 51 | error [27; 31): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix |
51 | error [39; 43): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix | 52 | error [39; 43): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix |