diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-29 07:40:39 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-29 07:40:39 +0100 |
commit | 7a1cae59acf72f821343b2ba10ef69fb92a5b952 (patch) | |
tree | 26e606ccd132a24e9bc89cf174e4adadf60c5992 /crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.txt | |
parent | b0d84cb8faefedde7ace4ff152a2a13408e79e5d (diff) | |
parent | 80a17251473bd6213a4c8a51ea7f732394d173c5 (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/err/0021_incomplete_param.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.txt b/crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.txt index 81b52c8ce..086224eee 100644 --- a/crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.txt +++ b/crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.txt | |||
@@ -23,8 +23,6 @@ SOURCE_FILE@[0; 22) | |||
23 | BIND_PAT@[15; 16) | 23 | BIND_PAT@[15; 16) |
24 | NAME@[15; 16) | 24 | NAME@[15; 16) |
25 | IDENT@[15; 16) "y" | 25 | IDENT@[15; 16) "y" |
26 | err: `expected COLON` | ||
27 | err: `expected type` | ||
28 | R_PAREN@[16; 17) ")" | 26 | R_PAREN@[16; 17) ")" |
29 | WHITESPACE@[17; 18) " " | 27 | WHITESPACE@[17; 18) " " |
30 | BLOCK@[18; 21) | 28 | BLOCK@[18; 21) |
@@ -32,3 +30,5 @@ SOURCE_FILE@[0; 22) | |||
32 | WHITESPACE@[19; 20) "\n" | 30 | WHITESPACE@[19; 20) "\n" |
33 | R_CURLY@[20; 21) "}" | 31 | R_CURLY@[20; 21) "}" |
34 | WHITESPACE@[21; 22) "\n" | 32 | WHITESPACE@[21; 22) "\n" |
33 | err: `expected COLON` | ||
34 | err: `expected type` | ||