aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast58
1 files changed, 29 insertions, 29 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast b/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast
index a85855f8c..85bf276a0 100644
--- a/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast
+++ b/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast
@@ -1,29 +1,29 @@
1SOURCE_FILE@[0; 30) 1SOURCE_FILE@0..30
2 FN_DEF@[0; 29) 2 FN_DEF@0..29
3 FN_KW@[0; 2) "fn" 3 FN_KW@0..2 "fn"
4 WHITESPACE@[2; 3) " " 4 WHITESPACE@2..3 " "
5 NAME@[3; 7) 5 NAME@3..7
6 IDENT@[3; 7) "main" 6 IDENT@3..7 "main"
7 PARAM_LIST@[7; 9) 7 PARAM_LIST@7..9
8 L_PAREN@[7; 8) "(" 8 L_PAREN@7..8 "("
9 R_PAREN@[8; 9) ")" 9 R_PAREN@8..9 ")"
10 WHITESPACE@[9; 10) " " 10 WHITESPACE@9..10 " "
11 BLOCK_EXPR@[10; 29) 11 BLOCK_EXPR@10..29
12 BLOCK@[10; 29) 12 BLOCK@10..29
13 L_CURLY@[10; 11) "{" 13 L_CURLY@10..11 "{"
14 WHITESPACE@[11; 16) "\n " 14 WHITESPACE@11..16 "\n "
15 EXPR_STMT@[16; 22) 15 EXPR_STMT@16..22
16 ERROR@[16; 22) 16 ERROR@16..22
17 LABEL@[16; 22) 17 LABEL@16..22
18 LIFETIME@[16; 21) "\'loop" 18 LIFETIME@16..21 "\'loop"
19 COLON@[21; 22) ":" 19 COLON@21..22 ":"
20 WHITESPACE@[22; 23) " " 20 WHITESPACE@22..23 " "
21 IMPL_DEF@[23; 27) 21 IMPL_DEF@23..27
22 IMPL_KW@[23; 27) "impl" 22 IMPL_KW@23..27 "impl"
23 WHITESPACE@[27; 28) "\n" 23 WHITESPACE@27..28 "\n"
24 R_CURLY@[28; 29) "}" 24 R_CURLY@28..29 "}"
25 WHITESPACE@[29; 30) "\n" 25 WHITESPACE@29..30 "\n"
26error [22; 22): expected a loop 26error 22..22: expected a loop
27error [22; 22): expected SEMICOLON 27error 22..22: expected SEMICOLON
28error [27; 27): expected type 28error 27..27: expected type
29error [27; 27): expected `{` 29error 27..27: expected `{`