aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests/data/parser/inline/err/0004_impl_type.txt
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-05-29 07:40:39 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-05-29 07:40:39 +0100
commit7a1cae59acf72f821343b2ba10ef69fb92a5b952 (patch)
tree26e606ccd132a24e9bc89cf174e4adadf60c5992 /crates/ra_syntax/tests/data/parser/inline/err/0004_impl_type.txt
parentb0d84cb8faefedde7ace4ff152a2a13408e79e5d (diff)
parent80a17251473bd6213a4c8a51ea7f732394d173c5 (diff)
Merge #1337
1337: Move syntax errors our of syntax tree r=matklad a=matklad I am not really sure if it's a good idea, but `SyntaxError` do not really belong to a `SyntaxTree`. So let's just store them on the side? Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/err/0004_impl_type.txt')
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/err/0004_impl_type.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/err/0004_impl_type.txt b/crates/ra_syntax/tests/data/parser/inline/err/0004_impl_type.txt
index 86f84459a..ef4e0d5dd 100644
--- a/crates/ra_syntax/tests/data/parser/inline/err/0004_impl_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/err/0004_impl_type.txt
@@ -35,8 +35,6 @@ SOURCE_FILE@[0; 87)
35 WHITESPACE@[33; 34) "\n" 35 WHITESPACE@[33; 34) "\n"
36 IMPL_BLOCK@[34; 38) 36 IMPL_BLOCK@[34; 38)
37 IMPL_KW@[34; 38) "impl" 37 IMPL_KW@[34; 38) "impl"
38 err: `expected trait or type`
39 err: `expected `{``
40 WHITESPACE@[38; 39) " " 38 WHITESPACE@[38; 39) " "
41 IMPL_BLOCK@[39; 54) 39 IMPL_BLOCK@[39; 54)
42 IMPL_KW@[39; 43) "impl" 40 IMPL_KW@[39; 43) "impl"
@@ -61,8 +59,6 @@ SOURCE_FILE@[0; 87)
61 IDENT@[60; 66) "Trait2" 59 IDENT@[60; 66) "Trait2"
62 WHITESPACE@[66; 67) " " 60 WHITESPACE@[66; 67) " "
63 FOR_KW@[67; 70) "for" 61 FOR_KW@[67; 70) "for"
64 err: `expected trait or type`
65 err: `expected `{``
66 WHITESPACE@[70; 71) " " 62 WHITESPACE@[70; 71) " "
67 IMPL_BLOCK@[71; 86) 63 IMPL_BLOCK@[71; 86)
68 IMPL_KW@[71; 75) "impl" 64 IMPL_KW@[71; 75) "impl"
@@ -77,3 +73,7 @@ SOURCE_FILE@[0; 87)
77 L_CURLY@[84; 85) "{" 73 L_CURLY@[84; 85) "{"
78 R_CURLY@[85; 86) "}" 74 R_CURLY@[85; 86) "}"
79 WHITESPACE@[86; 87) "\n" 75 WHITESPACE@[86; 87) "\n"
76err: `expected trait or type`
77err: `expected `{``
78err: `expected trait or type`
79err: `expected `{``