aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.txt
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-09-02 20:20:24 +0100
committerGitHub <[email protected]>2019-09-02 20:20:24 +0100
commit7faec1c30046769d4ae490e15cf5405bcfbdeef8 (patch)
tree6d268b721027a5350928a6c5a0ec227b5fde8ebc /crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.txt
parenta8397deab914240aca8f015fb3736689919c0a5b (diff)
parente94587e3153b52684fd3f6b82c8e7efc09ff5c8d (diff)
Merge #1752
1752: Always wrap blocks into block expressions r=flodiebold a=matklad This way, things like function bodies are expressions, and we don't have to single them out Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.txt27
1 files changed, 14 insertions, 13 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.txt b/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.txt
index 7abc49d5e..2950d77ef 100644
--- a/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.txt
+++ b/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.txt
@@ -8,19 +8,20 @@ SOURCE_FILE@[0; 30)
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@[10; 29) 11 BLOCK_EXPR@[10; 29)
12 L_CURLY@[10; 11) "{" 12 BLOCK@[10; 29)
13 WHITESPACE@[11; 16) "\n " 13 L_CURLY@[10; 11) "{"
14 EXPR_STMT@[16; 22) 14 WHITESPACE@[11; 16) "\n "
15 ERROR@[16; 22) 15 EXPR_STMT@[16; 22)
16 LABEL@[16; 22) 16 ERROR@[16; 22)
17 LIFETIME@[16; 21) "\'loop" 17 LABEL@[16; 22)
18 COLON@[21; 22) ":" 18 LIFETIME@[16; 21) "\'loop"
19 WHITESPACE@[22; 23) " " 19 COLON@[21; 22) ":"
20 IMPL_BLOCK@[23; 27) 20 WHITESPACE@[22; 23) " "
21 IMPL_KW@[23; 27) "impl" 21 IMPL_BLOCK@[23; 27)
22 WHITESPACE@[27; 28) "\n" 22 IMPL_KW@[23; 27) "impl"
23 R_CURLY@[28; 29) "}" 23 WHITESPACE@[27; 28) "\n"
24 R_CURLY@[28; 29) "}"
24 WHITESPACE@[29; 30) "\n" 25 WHITESPACE@[29; 30) "\n"
25error 22: expected a loop 26error 22: expected a loop
26error 22: expected SEMI 27error 22: expected SEMI