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/inline/err/0005_fn_pointer_type_missing_fn.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/inline/err/0005_fn_pointer_type_missing_fn.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/err/0005_fn_pointer_type_missing_fn.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/err/0005_fn_pointer_type_missing_fn.txt b/crates/ra_syntax/tests/data/parser/inline/err/0005_fn_pointer_type_missing_fn.txt index 4587525aa..41e623b41 100644 --- a/crates/ra_syntax/tests/data/parser/inline/err/0005_fn_pointer_type_missing_fn.txt +++ b/crates/ra_syntax/tests/data/parser/inline/err/0005_fn_pointer_type_missing_fn.txt | |||
@@ -8,16 +8,16 @@ SOURCE_FILE@[0; 20) | |||
8 | EQ@[7; 8) "=" | 8 | EQ@[7; 8) "=" |
9 | WHITESPACE@[8; 9) " " | 9 | WHITESPACE@[8; 9) " " |
10 | UNSAFE_KW@[9; 15) "unsafe" | 10 | UNSAFE_KW@[9; 15) "unsafe" |
11 | err: `expected `fn`` | ||
12 | err: `expected SEMI` | ||
13 | WHITESPACE@[15; 16) " " | 11 | WHITESPACE@[15; 16) " " |
14 | err: `expected an item` | ||
15 | ERROR@[16; 17) | 12 | ERROR@[16; 17) |
16 | L_PAREN@[16; 17) "(" | 13 | L_PAREN@[16; 17) "(" |
17 | err: `expected an item` | ||
18 | ERROR@[17; 18) | 14 | ERROR@[17; 18) |
19 | R_PAREN@[17; 18) ")" | 15 | R_PAREN@[17; 18) ")" |
20 | err: `expected an item` | ||
21 | ERROR@[18; 19) | 16 | ERROR@[18; 19) |
22 | SEMI@[18; 19) ";" | 17 | SEMI@[18; 19) ";" |
23 | WHITESPACE@[19; 20) "\n" | 18 | WHITESPACE@[19; 20) "\n" |
19 | err: `expected `fn`` | ||
20 | err: `expected SEMI` | ||
21 | err: `expected an item` | ||
22 | err: `expected an item` | ||
23 | err: `expected an item` | ||