diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.txt | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.txt b/crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.txt deleted file mode 100644 index 6143e68f1..000000000 --- a/crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.txt +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 74) | ||
2 | STRUCT_DEF@[0; 73) | ||
3 | STRUCT_KW@[0; 6) "struct" | ||
4 | WHITESPACE@[6; 7) " " | ||
5 | NAME@[7; 8) | ||
6 | IDENT@[7; 8) "S" | ||
7 | WHITESPACE@[8; 9) " " | ||
8 | NAMED_FIELD_DEF_LIST@[9; 73) | ||
9 | L_CURLY@[9; 10) "{" | ||
10 | WHITESPACE@[10; 15) "\n " | ||
11 | NAMED_FIELD_DEF@[15; 21) | ||
12 | NAME@[15; 16) | ||
13 | IDENT@[15; 16) "f" | ||
14 | COLON@[16; 17) ":" | ||
15 | WHITESPACE@[17; 18) " " | ||
16 | PATH_TYPE@[18; 21) | ||
17 | PATH@[18; 21) | ||
18 | PATH_SEGMENT@[18; 21) | ||
19 | NAME_REF@[18; 21) | ||
20 | IDENT@[18; 21) "u32" | ||
21 | COMMA@[21; 22) "," | ||
22 | WHITESPACE@[22; 27) "\n " | ||
23 | VISIBILITY@[27; 30) | ||
24 | PUB_KW@[27; 30) "pub" | ||
25 | WHITESPACE@[30; 31) " " | ||
26 | ERROR@[31; 33) | ||
27 | INT_NUMBER@[31; 33) "92" | ||
28 | WHITESPACE@[33; 38) "\n " | ||
29 | ERROR@[38; 39) | ||
30 | PLUS@[38; 39) "+" | ||
31 | WHITESPACE@[39; 40) " " | ||
32 | ERROR@[40; 41) | ||
33 | MINUS@[40; 41) "-" | ||
34 | WHITESPACE@[41; 42) " " | ||
35 | ERROR@[42; 43) | ||
36 | STAR@[42; 43) "*" | ||
37 | WHITESPACE@[43; 48) "\n " | ||
38 | NAMED_FIELD_DEF@[48; 58) | ||
39 | VISIBILITY@[48; 51) | ||
40 | PUB_KW@[48; 51) "pub" | ||
41 | WHITESPACE@[51; 52) " " | ||
42 | NAME@[52; 53) | ||
43 | IDENT@[52; 53) "x" | ||
44 | COLON@[53; 54) ":" | ||
45 | WHITESPACE@[54; 55) " " | ||
46 | PATH_TYPE@[55; 58) | ||
47 | PATH@[55; 58) | ||
48 | PATH_SEGMENT@[55; 58) | ||
49 | NAME_REF@[55; 58) | ||
50 | IDENT@[55; 58) "u32" | ||
51 | COMMA@[58; 59) "," | ||
52 | WHITESPACE@[59; 64) "\n " | ||
53 | NAMED_FIELD_DEF@[64; 70) | ||
54 | NAME@[64; 65) | ||
55 | IDENT@[64; 65) "z" | ||
56 | COLON@[65; 66) ":" | ||
57 | WHITESPACE@[66; 67) " " | ||
58 | PATH_TYPE@[67; 70) | ||
59 | PATH@[67; 70) | ||
60 | PATH_SEGMENT@[67; 70) | ||
61 | NAME_REF@[67; 70) | ||
62 | IDENT@[67; 70) "f64" | ||
63 | COMMA@[70; 71) "," | ||
64 | WHITESPACE@[71; 72) "\n" | ||
65 | R_CURLY@[72; 73) "}" | ||
66 | WHITESPACE@[73; 74) "\n" | ||
67 | error 31: expected field declaration | ||
68 | error 33: expected COMMA | ||
69 | error 38: expected field declaration | ||
70 | error 39: expected COMMA | ||
71 | error 40: expected field declaration | ||
72 | error 41: expected COMMA | ||
73 | error 42: expected field declaration | ||
74 | error 43: expected COMMA | ||