aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/err
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-08-09 11:16:47 +0100
committerAleksey Kladov <[email protected]>2019-08-09 11:16:47 +0100
commitf3ee5a15090d8ba6ec220e1f907ed3af27e57734 (patch)
treed4042c35679ca1e4db06fd9976d90d025fca0966 /crates/ra_syntax/test_data/parser/inline/err
parent5f82012779c374d9f6b518634aefb14ce28e17e6 (diff)
Move numeric names inside of `NameRef`
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.txt7
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"
49error [17; 19): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix
50error [27; 31): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix 51error [27; 31): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix
51error [39; 43): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix 52error [39; 43): Tuple (struct) field access is only allowed through decimal integers with no underscores or suffix