aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.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/ok/0018_arb_self_types.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/ok/0018_arb_self_types.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.txt b/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.txt
index 67d0de0f0..d0beeb81e 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.txt
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.txt
@@ -31,9 +31,10 @@ SOURCE_FILE@[0; 69)
31 IDENT@[25; 29) "Self" 31 IDENT@[25; 29) "Self"
32 R_PAREN@[29; 30) ")" 32 R_PAREN@[29; 30) ")"
33 WHITESPACE@[30; 31) " " 33 WHITESPACE@[30; 31) " "
34 BLOCK@[31; 33) 34 BLOCK_EXPR@[31; 33)
35 L_CURLY@[31; 32) "{" 35 BLOCK@[31; 33)
36 R_CURLY@[32; 33) "}" 36 L_CURLY@[31; 32) "{"
37 R_CURLY@[32; 33) "}"
37 WHITESPACE@[33; 38) "\n " 38 WHITESPACE@[33; 38) "\n "
38 FN_DEF@[38; 66) 39 FN_DEF@[38; 66)
39 FN_KW@[38; 40) "fn" 40 FN_KW@[38; 40) "fn"
@@ -64,9 +65,10 @@ SOURCE_FILE@[0; 69)
64 R_ANGLE@[61; 62) ">" 65 R_ANGLE@[61; 62) ">"
65 R_PAREN@[62; 63) ")" 66 R_PAREN@[62; 63) ")"
66 WHITESPACE@[63; 64) " " 67 WHITESPACE@[63; 64) " "
67 BLOCK@[64; 66) 68 BLOCK_EXPR@[64; 66)
68 L_CURLY@[64; 65) "{" 69 BLOCK@[64; 66)
69 R_CURLY@[65; 66) "}" 70 L_CURLY@[64; 65) "{"
71 R_CURLY@[65; 66) "}"
70 WHITESPACE@[66; 67) "\n" 72 WHITESPACE@[66; 67) "\n"
71 R_CURLY@[67; 68) "}" 73 R_CURLY@[67; 68) "}"
72 WHITESPACE@[68; 69) "\n" 74 WHITESPACE@[68; 69) "\n"