diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-02 14:36:52 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-02 14:36:52 +0100 |
commit | 0a758a2c4803c7ecc956d2aa6ed2ce48c4e4edd9 (patch) | |
tree | 97952861d81d1d5d4de49899c0d4e8da96796dc2 /crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.txt | |
parent | 78f38a20fd53ccab18b1c4b7dda217b5bfb61c8f (diff) | |
parent | 7d6bd5d1379061180e771f7b833a9fecdc85a0b8 (diff) |
Merge #1090
1090: always show token text r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.txt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.txt b/crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.txt index 665f7599c..21ef31ba8 100644 --- a/crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.txt +++ b/crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.txt | |||
@@ -1,34 +1,34 @@ | |||
1 | SOURCE_FILE@[0; 34) | 1 | SOURCE_FILE@[0; 34) |
2 | STRUCT_DEF@[0; 34) | 2 | STRUCT_DEF@[0; 34) |
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; 34) | 8 | NAMED_FIELD_DEF_LIST@[9; 34) |
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) "u32" | 20 | IDENT@[18; 21) "u32" |
21 | err: `expected COMMA` | 21 | err: `expected COMMA` |
22 | WHITESPACE@[21; 26) | 22 | WHITESPACE@[21; 26) "\n " |
23 | NAMED_FIELD_DEF@[26; 32) | 23 | NAMED_FIELD_DEF@[26; 32) |
24 | NAME@[26; 27) | 24 | NAME@[26; 27) |
25 | IDENT@[26; 27) "b" | 25 | IDENT@[26; 27) "b" |
26 | COLON@[27; 28) | 26 | COLON@[27; 28) ":" |
27 | WHITESPACE@[28; 29) | 27 | WHITESPACE@[28; 29) " " |
28 | PATH_TYPE@[29; 32) | 28 | PATH_TYPE@[29; 32) |
29 | PATH@[29; 32) | 29 | PATH@[29; 32) |
30 | PATH_SEGMENT@[29; 32) | 30 | PATH_SEGMENT@[29; 32) |
31 | NAME_REF@[29; 32) | 31 | NAME_REF@[29; 32) |
32 | IDENT@[29; 32) "u32" | 32 | IDENT@[29; 32) "u32" |
33 | WHITESPACE@[32; 33) | 33 | WHITESPACE@[32; 33) "\n" |
34 | R_CURLY@[33; 34) | 34 | R_CURLY@[33; 34) "}" |