diff options
Diffstat (limited to 'crates/syntax/test_data/parser/err')
4 files changed, 88 insertions, 80 deletions
diff --git a/crates/syntax/test_data/parser/err/0005_attribute_recover.rast b/crates/syntax/test_data/parser/err/0005_attribute_recover.rast index 4845a6563..6202c8bfe 100644 --- a/crates/syntax/test_data/parser/err/0005_attribute_recover.rast +++ b/crates/syntax/test_data/parser/err/0005_attribute_recover.rast | |||
@@ -3,20 +3,21 @@ [email protected] | |||
3 | [email protected] | 3 | [email protected] |
4 | [email protected] "#" | 4 | [email protected] "#" |
5 | [email protected] "[" | 5 | [email protected] "[" |
6 | [email protected] | 6 | [email protected] |
7 | [email protected] | 7 | [email protected] |
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "foo" | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] "foo" |
11 | [email protected] "(" | 11 | [email protected] |
12 | [email protected] "foo" | 12 | [email protected] "(" |
13 | [email protected] "," | 13 | [email protected] "foo" |
14 | [email protected] " " | 14 | [email protected] "," |
15 | [email protected] "+" | 15 | [email protected] " " |
16 | [email protected] "," | 16 | [email protected] "+" |
17 | [email protected] " " | 17 | [email protected] "," |
18 | [email protected] "92" | 18 | [email protected] " " |
19 | [email protected] ")" | 19 | [email protected] "92" |
20 | [email protected] ")" | ||
20 | [email protected] "]" | 21 | [email protected] "]" |
21 | [email protected] "\n" | 22 | [email protected] "\n" |
22 | [email protected] "fn" | 23 | [email protected] "fn" |
@@ -35,24 +36,25 @@ [email protected] | |||
35 | [email protected] | 36 | [email protected] |
36 | [email protected] "#" | 37 | [email protected] "#" |
37 | [email protected] "[" | 38 | [email protected] "[" |
38 | [email protected] | 39 | [email protected] |
39 | [email protected] | 40 | [email protected] |
40 | [email protected] | 41 | [email protected] |
41 | [email protected] "foo" | 42 | [email protected] |
42 | [email protected] | 43 | [email protected] "foo" |
43 | [email protected] "(" | 44 | [email protected] |
44 | [email protected] "\n" | 45 | [email protected] "(" |
45 | [email protected] "fn" | 46 | [email protected] "\n" |
46 | [email protected] " " | 47 | [email protected] "fn" |
47 | [email protected] "foo" | 48 | [email protected] " " |
48 | [email protected] | 49 | [email protected] "foo" |
49 | [email protected] "(" | 50 | [email protected] |
50 | [email protected] ")" | 51 | [email protected] "(" |
51 | [email protected] " " | 52 | [email protected] ")" |
52 | [email protected] | 53 | [email protected] " " |
53 | [email protected] "{" | 54 | [email protected] |
54 | [email protected] "\n" | 55 | [email protected] "{" |
55 | [email protected] "}" | 56 | [email protected] "\n" |
57 | [email protected] "}" | ||
56 | [email protected] "\n" | 58 | [email protected] "\n" |
57 | error 53..53: expected R_PAREN | 59 | error 53..53: expected R_PAREN |
58 | error 53..53: expected `]` | 60 | error 53..53: expected `]` |
diff --git a/crates/syntax/test_data/parser/err/0031_block_inner_attrs.rast b/crates/syntax/test_data/parser/err/0031_block_inner_attrs.rast index a443b37db..846279748 100644 --- a/crates/syntax/test_data/parser/err/0031_block_inner_attrs.rast +++ b/crates/syntax/test_data/parser/err/0031_block_inner_attrs.rast | |||
@@ -27,14 +27,15 @@ [email protected] | |||
27 | [email protected] "#" | 27 | [email protected] "#" |
28 | [email protected] "!" | 28 | [email protected] "!" |
29 | [email protected] "[" | 29 | [email protected] "[" |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] "doc" | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] "doc" |
35 | [email protected] "(" | 35 | [email protected] |
36 | [email protected] "\"Inner attributes not ..." | 36 | [email protected] "(" |
37 | [email protected] ")" | 37 | [email protected] "\"Inner attributes not ..." |
38 | [email protected] ")" | ||
38 | [email protected] "]" | 39 | [email protected] "]" |
39 | [email protected] "\n " | 40 | [email protected] "\n " |
40 | [email protected] "//! Nor are ModuleDoc ..." | 41 | [email protected] "//! Nor are ModuleDoc ..." |
@@ -57,28 +58,30 @@ [email protected] | |||
57 | [email protected] "#" | 58 | [email protected] "#" |
58 | [email protected] "!" | 59 | [email protected] "!" |
59 | [email protected] "[" | 60 | [email protected] "[" |
60 | [email protected] | 61 | [email protected] |
61 | [email protected] | 62 | [email protected] |
62 | [email protected] | 63 | [email protected] |
63 | [email protected] "doc" | 64 | [email protected] |
64 | [email protected] | 65 | [email protected] "doc" |
65 | [email protected] "(" | 66 | [email protected] |
66 | [email protected] "\"Nor here\"" | 67 | [email protected] "(" |
67 | [email protected] ")" | 68 | [email protected] "\"Nor here\"" |
69 | [email protected] ")" | ||
68 | [email protected] "]" | 70 | [email protected] "]" |
69 | [email protected] "\n " | 71 | [email protected] "\n " |
70 | [email protected] | 72 | [email protected] |
71 | [email protected] "#" | 73 | [email protected] "#" |
72 | [email protected] "!" | 74 | [email protected] "!" |
73 | [email protected] "[" | 75 | [email protected] "[" |
74 | [email protected] | 76 | [email protected] |
75 | [email protected] | 77 | [email protected] |
76 | [email protected] | 78 | [email protected] |
77 | [email protected] "doc" | 79 | [email protected] |
78 | [email protected] | 80 | [email protected] "doc" |
79 | [email protected] "(" | 81 | [email protected] |
80 | [email protected] "\"We error on each attr\"" | 82 | [email protected] "(" |
81 | [email protected] ")" | 83 | [email protected] "\"We error on each attr\"" |
84 | [email protected] ")" | ||
82 | [email protected] "]" | 85 | [email protected] "]" |
83 | [email protected] "\n " | 86 | [email protected] "\n " |
84 | [email protected] "//! Nor are ModuleDoc ..." | 87 | [email protected] "//! Nor are ModuleDoc ..." |
@@ -99,14 +102,15 @@ [email protected] | |||
99 | [email protected] "#" | 102 | [email protected] "#" |
100 | [email protected] "!" | 103 | [email protected] "!" |
101 | [email protected] "[" | 104 | [email protected] "[" |
102 | [email protected] | 105 | [email protected] |
103 | [email protected] | 106 | [email protected] |
104 | [email protected] | 107 | [email protected] |
105 | [email protected] "doc" | 108 | [email protected] |
106 | [email protected] | 109 | [email protected] "doc" |
107 | [email protected] "(" | 110 | [email protected] |
108 | [email protected] "\"Nor here\"" | 111 | [email protected] "(" |
109 | [email protected] ")" | 112 | [email protected] "\"Nor here\"" |
113 | [email protected] ")" | ||
110 | [email protected] "]" | 114 | [email protected] "]" |
111 | [email protected] "\n " | 115 | [email protected] "\n " |
112 | [email protected] "//! Nor are ModuleDoc ..." | 116 | [email protected] "//! Nor are ModuleDoc ..." |
diff --git a/crates/syntax/test_data/parser/err/0032_match_arms_inner_attrs.rast b/crates/syntax/test_data/parser/err/0032_match_arms_inner_attrs.rast index 672dd054a..b6209639d 100644 --- a/crates/syntax/test_data/parser/err/0032_match_arms_inner_attrs.rast +++ b/crates/syntax/test_data/parser/err/0032_match_arms_inner_attrs.rast | |||
@@ -135,14 +135,15 @@ [email protected] | |||
135 | [email protected] | 135 | [email protected] |
136 | [email protected] "#" | 136 | [email protected] "#" |
137 | [email protected] "[" | 137 | [email protected] "[" |
138 | [email protected] | 138 | [email protected] |
139 | [email protected] | 139 | [email protected] |
140 | [email protected] | 140 | [email protected] |
141 | [email protected] "cfg" | 141 | [email protected] |
142 | [email protected] | 142 | [email protected] "cfg" |
143 | [email protected] "(" | 143 | [email protected] |
144 | [email protected] "test" | 144 | [email protected] "(" |
145 | [email protected] ")" | 145 | [email protected] "test" |
146 | [email protected] ")" | ||
146 | [email protected] "]" | 147 | [email protected] "]" |
147 | [email protected] "\n " | 148 | [email protected] "\n " |
148 | [email protected] | 149 | [email protected] |
diff --git a/crates/syntax/test_data/parser/err/0033_match_arms_outer_attrs.rast b/crates/syntax/test_data/parser/err/0033_match_arms_outer_attrs.rast index 33bb085e9..84c8e9ee7 100644 --- a/crates/syntax/test_data/parser/err/0033_match_arms_outer_attrs.rast +++ b/crates/syntax/test_data/parser/err/0033_match_arms_outer_attrs.rast | |||
@@ -47,14 +47,15 @@ [email protected] | |||
47 | [email protected] | 47 | [email protected] |
48 | [email protected] "#" | 48 | [email protected] "#" |
49 | [email protected] "[" | 49 | [email protected] "[" |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] |
53 | [email protected] "cfg" | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] "cfg" |
55 | [email protected] "(" | 55 | [email protected] |
56 | [email protected] "test" | 56 | [email protected] "(" |
57 | [email protected] ")" | 57 | [email protected] "test" |
58 | [email protected] ")" | ||
58 | [email protected] "]" | 59 | [email protected] "]" |
59 | [email protected] "\n " | 60 | [email protected] "\n " |
60 | [email protected] "}" | 61 | [email protected] "}" |