diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-02 20:20:24 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-09-02 20:20:24 +0100 |
commit | 7faec1c30046769d4ae490e15cf5405bcfbdeef8 (patch) | |
tree | 6d268b721027a5350928a6c5a0ec227b5fde8ebc /crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.txt | |
parent | a8397deab914240aca8f015fb3736689919c0a5b (diff) | |
parent | e94587e3153b52684fd3f6b82c8e7efc09ff5c8d (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/0037_qual_paths.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.txt | 69 |
1 files changed, 35 insertions, 34 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.txt b/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.txt index 9bfddf5d2..6e226de4b 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.txt +++ b/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.txt | |||
@@ -41,38 +41,39 @@ SOURCE_FILE@[0; 71) | |||
41 | L_PAREN@[33; 34) "(" | 41 | L_PAREN@[33; 34) "(" |
42 | R_PAREN@[34; 35) ")" | 42 | R_PAREN@[34; 35) ")" |
43 | WHITESPACE@[35; 36) " " | 43 | WHITESPACE@[35; 36) " " |
44 | BLOCK@[36; 70) | 44 | BLOCK_EXPR@[36; 70) |
45 | L_CURLY@[36; 37) "{" | 45 | BLOCK@[36; 70) |
46 | WHITESPACE@[37; 38) " " | 46 | L_CURLY@[36; 37) "{" |
47 | EXPR_STMT@[38; 68) | 47 | WHITESPACE@[37; 38) " " |
48 | CALL_EXPR@[38; 67) | 48 | EXPR_STMT@[38; 68) |
49 | PATH_EXPR@[38; 65) | 49 | CALL_EXPR@[38; 67) |
50 | PATH@[38; 65) | 50 | PATH_EXPR@[38; 65) |
51 | PATH@[38; 56) | 51 | PATH@[38; 65) |
52 | PATH_SEGMENT@[38; 56) | 52 | PATH@[38; 56) |
53 | L_ANGLE@[38; 39) "<" | 53 | PATH_SEGMENT@[38; 56) |
54 | PATH_TYPE@[39; 44) | 54 | L_ANGLE@[38; 39) "<" |
55 | PATH@[39; 44) | 55 | PATH_TYPE@[39; 44) |
56 | PATH_SEGMENT@[39; 44) | 56 | PATH@[39; 44) |
57 | NAME_REF@[39; 44) | 57 | PATH_SEGMENT@[39; 44) |
58 | IDENT@[39; 44) "usize" | 58 | NAME_REF@[39; 44) |
59 | WHITESPACE@[44; 45) " " | 59 | IDENT@[39; 44) "usize" |
60 | AS_KW@[45; 47) "as" | 60 | WHITESPACE@[44; 45) " " |
61 | WHITESPACE@[47; 48) " " | 61 | AS_KW@[45; 47) "as" |
62 | PATH_TYPE@[48; 55) | 62 | WHITESPACE@[47; 48) " " |
63 | PATH@[48; 55) | 63 | PATH_TYPE@[48; 55) |
64 | PATH_SEGMENT@[48; 55) | 64 | PATH@[48; 55) |
65 | NAME_REF@[48; 55) | 65 | PATH_SEGMENT@[48; 55) |
66 | IDENT@[48; 55) "Default" | 66 | NAME_REF@[48; 55) |
67 | R_ANGLE@[55; 56) ">" | 67 | IDENT@[48; 55) "Default" |
68 | COLONCOLON@[56; 58) "::" | 68 | R_ANGLE@[55; 56) ">" |
69 | PATH_SEGMENT@[58; 65) | 69 | COLONCOLON@[56; 58) "::" |
70 | NAME_REF@[58; 65) | 70 | PATH_SEGMENT@[58; 65) |
71 | IDENT@[58; 65) "default" | 71 | NAME_REF@[58; 65) |
72 | ARG_LIST@[65; 67) | 72 | IDENT@[58; 65) "default" |
73 | L_PAREN@[65; 66) "(" | 73 | ARG_LIST@[65; 67) |
74 | R_PAREN@[66; 67) ")" | 74 | L_PAREN@[65; 66) "(" |
75 | SEMI@[67; 68) ";" | 75 | R_PAREN@[66; 67) ")" |
76 | WHITESPACE@[68; 69) " " | 76 | SEMI@[67; 68) ";" |
77 | R_CURLY@[69; 70) "}" | 77 | WHITESPACE@[68; 69) " " |
78 | R_CURLY@[69; 70) "}" | ||
78 | WHITESPACE@[70; 71) "\n" | 79 | WHITESPACE@[70; 71) "\n" |