diff options
author | Aleksey Kladov <[email protected]> | 2018-08-10 20:33:29 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-10 20:33:29 +0100 |
commit | 7c67612b8a894187fa3b64725531a5459f9211bf (patch) | |
tree | 9e2a536efa0c880d921fd8d4d74423afc9451fd4 /crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt | |
parent | 26262aaf05983c5b7f41cc438e287523268fe1eb (diff) |
organizize
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt')
-rw-r--r-- | crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt b/crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt new file mode 100644 index 000000000..81777fec0 --- /dev/null +++ b/crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt | |||
@@ -0,0 +1,38 @@ | |||
1 | FILE@[0; 40) | ||
2 | STRUCT_ITEM@[0; 40) | ||
3 | STRUCT_KW@[0; 6) | ||
4 | WHITESPACE@[6; 7) | ||
5 | NAME@[7; 8) | ||
6 | IDENT@[7; 8) "S" | ||
7 | WHITESPACE@[8; 9) | ||
8 | L_CURLY@[9; 10) | ||
9 | WHITESPACE@[10; 15) | ||
10 | NAMED_FIELD@[15; 21) | ||
11 | NAME@[15; 16) | ||
12 | IDENT@[15; 16) "a" | ||
13 | COLON@[16; 17) | ||
14 | WHITESPACE@[17; 18) | ||
15 | PATH_TYPE@[18; 21) | ||
16 | PATH@[18; 21) | ||
17 | PATH_SEGMENT@[18; 21) | ||
18 | NAME_REF@[18; 21) | ||
19 | IDENT@[18; 21) "i32" | ||
20 | COMMA@[21; 22) | ||
21 | WHITESPACE@[22; 27) | ||
22 | NAMED_FIELD@[27; 36) | ||
23 | NAME@[27; 28) | ||
24 | IDENT@[27; 28) "b" | ||
25 | COLON@[28; 29) | ||
26 | WHITESPACE@[29; 30) | ||
27 | PATH_TYPE@[30; 36) | ||
28 | PATH@[30; 36) | ||
29 | PATH_SEGMENT@[30; 36) | ||
30 | NAME_REF@[30; 36) | ||
31 | IDENT@[30; 36) "String" | ||
32 | COMMA@[36; 37) | ||
33 | WHITESPACE@[37; 38) | ||
34 | R_CURLY@[38; 39) | ||
35 | err: `expected item, found `;` | ||
36 | consider removing this semicolon` | ||
37 | ERROR@[39; 40) | ||
38 | SEMI@[39; 40) | ||