aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.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/0048_path_type_with_bounds.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/0048_path_type_with_bounds.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.txt b/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.txt
index bb948c8d8..02f2a9db6 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.txt
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.txt
@@ -34,9 +34,10 @@ SOURCE_FILE@[0; 58)
34 LIFETIME@[20; 22) "\'f" 34 LIFETIME@[20; 22) "\'f"
35 R_ANGLE@[22; 23) ">" 35 R_ANGLE@[22; 23) ">"
36 WHITESPACE@[23; 24) " " 36 WHITESPACE@[23; 24) " "
37 BLOCK@[24; 26) 37 BLOCK_EXPR@[24; 26)
38 L_CURLY@[24; 25) "{" 38 BLOCK@[24; 26)
39 R_CURLY@[25; 26) "}" 39 L_CURLY@[24; 25) "{"
40 R_CURLY@[25; 26) "}"
40 WHITESPACE@[26; 27) "\n" 41 WHITESPACE@[26; 27) "\n"
41 FN_DEF@[27; 57) 42 FN_DEF@[27; 57)
42 FN_KW@[27; 29) "fn" 43 FN_KW@[27; 29) "fn"
@@ -75,7 +76,8 @@ SOURCE_FILE@[0; 58)
75 LIFETIME@[51; 53) "\'f" 76 LIFETIME@[51; 53) "\'f"
76 R_ANGLE@[53; 54) ">" 77 R_ANGLE@[53; 54) ">"
77 WHITESPACE@[54; 55) " " 78 WHITESPACE@[54; 55) " "
78 BLOCK@[55; 57) 79 BLOCK_EXPR@[55; 57)
79 L_CURLY@[55; 56) "{" 80 BLOCK@[55; 57)
80 R_CURLY@[56; 57) "}" 81 L_CURLY@[55; 56) "{"
82 R_CURLY@[56; 57) "}"
81 WHITESPACE@[57; 58) "\n" 83 WHITESPACE@[57; 58) "\n"