diff options
author | Aleksey Kladov <[email protected]> | 2019-04-02 12:04:23 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-04-02 12:49:46 +0100 |
commit | 7d6bd5d1379061180e771f7b833a9fecdc85a0b8 (patch) | |
tree | f2c8c4b116f73d8b5da458c50ba5b7a03a42c4f8 /crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.txt | |
parent | 2d680ff93aa30a52ffe40bb7d359e19565dca733 (diff) |
always show token text
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.txt b/crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.txt index b87fe46bd..b52aaa368 100644 --- a/crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.txt +++ b/crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.txt | |||
@@ -1,39 +1,39 @@ | |||
1 | SOURCE_FILE@[0; 40) | 1 | SOURCE_FILE@[0; 40) |
2 | STRUCT_DEF@[0; 39) | 2 | STRUCT_DEF@[0; 39) |
3 | STRUCT_KW@[0; 6) | 3 | STRUCT_KW@[0; 6) "struct" |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) " " |
5 | NAME@[7; 8) | 5 | NAME@[7; 8) |
6 | IDENT@[7; 8) "S" | 6 | IDENT@[7; 8) "S" |
7 | WHITESPACE@[8; 9) | 7 | WHITESPACE@[8; 9) " " |
8 | NAMED_FIELD_DEF_LIST@[9; 39) | 8 | NAMED_FIELD_DEF_LIST@[9; 39) |
9 | L_CURLY@[9; 10) | 9 | L_CURLY@[9; 10) "{" |
10 | WHITESPACE@[10; 15) | 10 | WHITESPACE@[10; 15) "\n " |
11 | NAMED_FIELD_DEF@[15; 21) | 11 | NAMED_FIELD_DEF@[15; 21) |
12 | NAME@[15; 16) | 12 | NAME@[15; 16) |
13 | IDENT@[15; 16) "a" | 13 | IDENT@[15; 16) "a" |
14 | COLON@[16; 17) | 14 | COLON@[16; 17) ":" |
15 | WHITESPACE@[17; 18) | 15 | WHITESPACE@[17; 18) " " |
16 | PATH_TYPE@[18; 21) | 16 | PATH_TYPE@[18; 21) |
17 | PATH@[18; 21) | 17 | PATH@[18; 21) |
18 | PATH_SEGMENT@[18; 21) | 18 | PATH_SEGMENT@[18; 21) |
19 | NAME_REF@[18; 21) | 19 | NAME_REF@[18; 21) |
20 | IDENT@[18; 21) "i32" | 20 | IDENT@[18; 21) "i32" |
21 | COMMA@[21; 22) | 21 | COMMA@[21; 22) "," |
22 | WHITESPACE@[22; 27) | 22 | WHITESPACE@[22; 27) "\n " |
23 | NAMED_FIELD_DEF@[27; 36) | 23 | NAMED_FIELD_DEF@[27; 36) |
24 | NAME@[27; 28) | 24 | NAME@[27; 28) |
25 | IDENT@[27; 28) "b" | 25 | IDENT@[27; 28) "b" |
26 | COLON@[28; 29) | 26 | COLON@[28; 29) ":" |
27 | WHITESPACE@[29; 30) | 27 | WHITESPACE@[29; 30) " " |
28 | PATH_TYPE@[30; 36) | 28 | PATH_TYPE@[30; 36) |
29 | PATH@[30; 36) | 29 | PATH@[30; 36) |
30 | PATH_SEGMENT@[30; 36) | 30 | PATH_SEGMENT@[30; 36) |
31 | NAME_REF@[30; 36) | 31 | NAME_REF@[30; 36) |
32 | IDENT@[30; 36) "String" | 32 | IDENT@[30; 36) "String" |
33 | COMMA@[36; 37) | 33 | COMMA@[36; 37) "," |
34 | WHITESPACE@[37; 38) | 34 | WHITESPACE@[37; 38) "\n" |
35 | R_CURLY@[38; 39) | 35 | R_CURLY@[38; 39) "}" |
36 | err: `expected item, found `;` | 36 | err: `expected item, found `;` |
37 | consider removing this semicolon` | 37 | consider removing this semicolon` |
38 | ERROR@[39; 40) | 38 | ERROR@[39; 40) |
39 | SEMI@[39; 40) | 39 | SEMI@[39; 40) ";" |