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/0030_string_suffixes.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/0030_string_suffixes.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/err/0030_string_suffixes.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/tests/data/parser/err/0030_string_suffixes.txt b/crates/ra_syntax/tests/data/parser/err/0030_string_suffixes.txt index e0e38d37d..fb6d3c9c7 100644 --- a/crates/ra_syntax/tests/data/parser/err/0030_string_suffixes.txt +++ b/crates/ra_syntax/tests/data/parser/err/0030_string_suffixes.txt | |||
@@ -21,7 +21,6 @@ SOURCE_FILE@[0; 112) | |||
21 | WHITESPACE@[23; 24) " " | 21 | WHITESPACE@[23; 24) " " |
22 | LITERAL@[24; 27) | 22 | LITERAL@[24; 27) |
23 | CHAR@[24; 27) "\'c\'" | 23 | CHAR@[24; 27) "\'c\'" |
24 | err: `expected SEMI` | ||
25 | EXPR_STMT@[27; 31) | 24 | EXPR_STMT@[27; 31) |
26 | PATH_EXPR@[27; 30) | 25 | PATH_EXPR@[27; 30) |
27 | PATH@[27; 30) | 26 | PATH@[27; 30) |
@@ -68,3 +67,4 @@ SOURCE_FILE@[0; 112) | |||
68 | WHITESPACE@[109; 110) "\n" | 67 | WHITESPACE@[109; 110) "\n" |
69 | R_CURLY@[110; 111) "}" | 68 | R_CURLY@[110; 111) "}" |
70 | WHITESPACE@[111; 112) "\n" | 69 | WHITESPACE@[111; 112) "\n" |
70 | err: `expected SEMI` | ||