diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-17 17:22:32 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-17 17:22:32 +0100 |
commit | ce926aebc4461e38535047958c0b6f72b7a0c0ea (patch) | |
tree | 4b844e0681b459836bac22c34bee43e4dfa3dc5f /crates/syntax/test_data/parser/err | |
parent | 3ae0c5911ab50ee209179ee4329b0551abe6fc48 (diff) | |
parent | 02d25ab60d2701ce71fe2dfaca36627ad902e229 (diff) |
Merge #9315
9315: Nest all the or-patterns! r=Veykril a=Veykril
`cargo +nightly clippy --fix -Z unstable-options --allow-dirty -- -A clippy::all -D clippy::unnested_or_patterns`
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/parser/err')
5 files changed, 28 insertions, 28 deletions
diff --git a/crates/syntax/test_data/parser/err/0024_many_type_parens.rast b/crates/syntax/test_data/parser/err/0024_many_type_parens.rast index 4c4ddf5ec..be4a62940 100644 --- a/crates/syntax/test_data/parser/err/0024_many_type_parens.rast +++ b/crates/syntax/test_data/parser/err/0024_many_type_parens.rast | |||
@@ -43,7 +43,7 @@ [email protected] | |||
43 | [email protected] "<" | 43 | [email protected] "<" |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] "\'a" | 46 | [email protected] "'a" |
47 | [email protected] ">" | 47 | [email protected] ">" |
48 | [email protected] " " | 48 | [email protected] " " |
49 | [email protected] | 49 | [email protected] |
@@ -55,7 +55,7 @@ [email protected] | |||
55 | [email protected] "<" | 55 | [email protected] "<" |
56 | [email protected] | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] "\'a" | 58 | [email protected] "'a" |
59 | [email protected] ">" | 59 | [email protected] ">" |
60 | [email protected] ")" | 60 | [email protected] ")" |
61 | [email protected] ">" | 61 | [email protected] ">" |
@@ -128,7 +128,7 @@ [email protected] | |||
128 | [email protected] "<" | 128 | [email protected] "<" |
129 | [email protected] | 129 | [email protected] |
130 | [email protected] | 130 | [email protected] |
131 | [email protected] "\'a" | 131 | [email protected] "'a" |
132 | [email protected] ">" | 132 | [email protected] ">" |
133 | [email protected] " " | 133 | [email protected] " " |
134 | [email protected] | 134 | [email protected] |
@@ -140,7 +140,7 @@ [email protected] | |||
140 | [email protected] "<" | 140 | [email protected] "<" |
141 | [email protected] | 141 | [email protected] |
142 | [email protected] | 142 | [email protected] |
143 | [email protected] "\'a" | 143 | [email protected] "'a" |
144 | [email protected] ">" | 144 | [email protected] ">" |
145 | [email protected] ")" | 145 | [email protected] ")" |
146 | [email protected] | 146 | [email protected] |
@@ -191,7 +191,7 @@ [email protected] | |||
191 | [email protected] | 191 | [email protected] |
192 | [email protected] "<" | 192 | [email protected] "<" |
193 | [email protected] | 193 | [email protected] |
194 | [email protected] "\'a" | 194 | [email protected] "'a" |
195 | [email protected] ">" | 195 | [email protected] ">" |
196 | [email protected] " " | 196 | [email protected] " " |
197 | [email protected] | 197 | [email protected] |
@@ -205,7 +205,7 @@ [email protected] | |||
205 | [email protected] "Trait" | 205 | [email protected] "Trait" |
206 | [email protected] "<" | 206 | [email protected] "<" |
207 | [email protected] | 207 | [email protected] |
208 | [email protected] "\'a" | 208 | [email protected] "'a" |
209 | [email protected] ">" | 209 | [email protected] ">" |
210 | [email protected] | 210 | [email protected] |
211 | [email protected] ")" | 211 | [email protected] ")" |
@@ -250,7 +250,7 @@ [email protected] | |||
250 | [email protected] "<" | 250 | [email protected] "<" |
251 | [email protected] | 251 | [email protected] |
252 | [email protected] | 252 | [email protected] |
253 | [email protected] "\'a" | 253 | [email protected] "'a" |
254 | [email protected] ">" | 254 | [email protected] ">" |
255 | [email protected] " " | 255 | [email protected] " " |
256 | [email protected] | 256 | [email protected] |
@@ -262,7 +262,7 @@ [email protected] | |||
262 | [email protected] "<" | 262 | [email protected] "<" |
263 | [email protected] | 263 | [email protected] |
264 | [email protected] | 264 | [email protected] |
265 | [email protected] "\'a" | 265 | [email protected] "'a" |
266 | [email protected] ">" | 266 | [email protected] ">" |
267 | [email protected] ")" | 267 | [email protected] ")" |
268 | [email protected] " " | 268 | [email protected] " " |
diff --git a/crates/syntax/test_data/parser/err/0027_incomplere_where_for.rast b/crates/syntax/test_data/parser/err/0027_incomplere_where_for.rast index c5215d6b1..b021783fc 100644 --- a/crates/syntax/test_data/parser/err/0027_incomplere_where_for.rast +++ b/crates/syntax/test_data/parser/err/0027_incomplere_where_for.rast | |||
@@ -17,7 +17,7 @@ [email protected] | |||
17 | [email protected] "<" | 17 | [email protected] "<" |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] "\'a" | 20 | [email protected] "'a" |
21 | [email protected] ">" | 21 | [email protected] ">" |
22 | [email protected] "\n" | 22 | [email protected] "\n" |
23 | [email protected] | 23 | [email protected] |
diff --git a/crates/syntax/test_data/parser/err/0043_weird_blocks.rast b/crates/syntax/test_data/parser/err/0043_weird_blocks.rast index e73bd1aea..e24f01e29 100644 --- a/crates/syntax/test_data/parser/err/0043_weird_blocks.rast +++ b/crates/syntax/test_data/parser/err/0043_weird_blocks.rast | |||
@@ -55,7 +55,7 @@ [email protected] | |||
55 | [email protected] | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] "\'label" | 58 | [email protected] "'label" |
59 | [email protected] ":" | 59 | [email protected] ":" |
60 | [email protected] " " | 60 | [email protected] " " |
61 | [email protected] | 61 | [email protected] |
diff --git a/crates/syntax/test_data/parser/err/0044_unexpected_for_type.rast b/crates/syntax/test_data/parser/err/0044_unexpected_for_type.rast index cc54185e5..a2460a7ec 100644 --- a/crates/syntax/test_data/parser/err/0044_unexpected_for_type.rast +++ b/crates/syntax/test_data/parser/err/0044_unexpected_for_type.rast | |||
@@ -13,13 +13,13 @@ [email protected] | |||
13 | [email protected] "<" | 13 | [email protected] "<" |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] "\'a" | 16 | [email protected] "'a" |
17 | [email protected] ">" | 17 | [email protected] ">" |
18 | [email protected] " " | 18 | [email protected] " " |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] "&" | 20 | [email protected] "&" |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] "\'a" | 22 | [email protected] "'a" |
23 | [email protected] " " | 23 | [email protected] " " |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
@@ -42,7 +42,7 @@ [email protected] | |||
42 | [email protected] "<" | 42 | [email protected] "<" |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] "\'a" | 45 | [email protected] "'a" |
46 | [email protected] ">" | 46 | [email protected] ">" |
47 | [email protected] " " | 47 | [email protected] " " |
48 | [email protected] | 48 | [email protected] |
@@ -50,7 +50,7 @@ [email protected] | |||
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "&" | 51 | [email protected] "&" |
52 | [email protected] | 52 | [email protected] |
53 | [email protected] "\'a" | 53 | [email protected] "'a" |
54 | [email protected] " " | 54 | [email protected] " " |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] |
@@ -75,7 +75,7 @@ [email protected] | |||
75 | [email protected] "<" | 75 | [email protected] "<" |
76 | [email protected] | 76 | [email protected] |
77 | [email protected] | 77 | [email protected] |
78 | [email protected] "\'a" | 78 | [email protected] "'a" |
79 | [email protected] ">" | 79 | [email protected] ">" |
80 | [email protected] " " | 80 | [email protected] " " |
81 | [email protected] | 81 | [email protected] |
@@ -102,7 +102,7 @@ [email protected] | |||
102 | [email protected] "<" | 102 | [email protected] "<" |
103 | [email protected] | 103 | [email protected] |
104 | [email protected] | 104 | [email protected] |
105 | [email protected] "\'a" | 105 | [email protected] "'a" |
106 | [email protected] ">" | 106 | [email protected] ">" |
107 | [email protected] " " | 107 | [email protected] " " |
108 | [email protected] | 108 | [email protected] |
@@ -111,7 +111,7 @@ [email protected] | |||
111 | [email protected] "<" | 111 | [email protected] "<" |
112 | [email protected] | 112 | [email protected] |
113 | [email protected] | 113 | [email protected] |
114 | [email protected] "\'b" | 114 | [email protected] "'b" |
115 | [email protected] ">" | 115 | [email protected] ">" |
116 | [email protected] " " | 116 | [email protected] " " |
117 | [email protected] | 117 | [email protected] |
@@ -122,7 +122,7 @@ [email protected] | |||
122 | [email protected] | 122 | [email protected] |
123 | [email protected] "&" | 123 | [email protected] "&" |
124 | [email protected] | 124 | [email protected] |
125 | [email protected] "\'a" | 125 | [email protected] "'a" |
126 | [email protected] " " | 126 | [email protected] " " |
127 | [email protected] | 127 | [email protected] |
128 | [email protected] | 128 | [email protected] |
@@ -135,7 +135,7 @@ [email protected] | |||
135 | [email protected] | 135 | [email protected] |
136 | [email protected] "&" | 136 | [email protected] "&" |
137 | [email protected] | 137 | [email protected] |
138 | [email protected] "\'b" | 138 | [email protected] "'b" |
139 | [email protected] " " | 139 | [email protected] " " |
140 | [email protected] | 140 | [email protected] |
141 | [email protected] | 141 | [email protected] |
@@ -169,7 +169,7 @@ [email protected] | |||
169 | [email protected] "<" | 169 | [email protected] "<" |
170 | [email protected] | 170 | [email protected] |
171 | [email protected] | 171 | [email protected] |
172 | [email protected] "\'a" | 172 | [email protected] "'a" |
173 | [email protected] ">" | 173 | [email protected] ">" |
174 | [email protected] " " | 174 | [email protected] " " |
175 | [email protected] | 175 | [email protected] |
@@ -178,7 +178,7 @@ [email protected] | |||
178 | [email protected] "<" | 178 | [email protected] "<" |
179 | [email protected] | 179 | [email protected] |
180 | [email protected] | 180 | [email protected] |
181 | [email protected] "\'b" | 181 | [email protected] "'b" |
182 | [email protected] ">" | 182 | [email protected] ">" |
183 | [email protected] " " | 183 | [email protected] " " |
184 | [email protected] | 184 | [email protected] |
@@ -187,7 +187,7 @@ [email protected] | |||
187 | [email protected] "<" | 187 | [email protected] "<" |
188 | [email protected] | 188 | [email protected] |
189 | [email protected] | 189 | [email protected] |
190 | [email protected] "\'c" | 190 | [email protected] "'c" |
191 | [email protected] ">" | 191 | [email protected] ">" |
192 | [email protected] " " | 192 | [email protected] " " |
193 | [email protected] | 193 | [email protected] |
@@ -198,7 +198,7 @@ [email protected] | |||
198 | [email protected] | 198 | [email protected] |
199 | [email protected] "&" | 199 | [email protected] "&" |
200 | [email protected] | 200 | [email protected] |
201 | [email protected] "\'a" | 201 | [email protected] "'a" |
202 | [email protected] " " | 202 | [email protected] " " |
203 | [email protected] | 203 | [email protected] |
204 | [email protected] | 204 | [email protected] |
@@ -211,7 +211,7 @@ [email protected] | |||
211 | [email protected] | 211 | [email protected] |
212 | [email protected] "&" | 212 | [email protected] "&" |
213 | [email protected] | 213 | [email protected] |
214 | [email protected] "\'b" | 214 | [email protected] "'b" |
215 | [email protected] " " | 215 | [email protected] " " |
216 | [email protected] | 216 | [email protected] |
217 | [email protected] | 217 | [email protected] |
@@ -224,7 +224,7 @@ [email protected] | |||
224 | [email protected] | 224 | [email protected] |
225 | [email protected] "&" | 225 | [email protected] "&" |
226 | [email protected] | 226 | [email protected] |
227 | [email protected] "\'c" | 227 | [email protected] "'c" |
228 | [email protected] " " | 228 | [email protected] " " |
229 | [email protected] | 229 | [email protected] |
230 | [email protected] | 230 | [email protected] |
diff --git a/crates/syntax/test_data/parser/err/0046_ambiguous_trait_object.rast b/crates/syntax/test_data/parser/err/0046_ambiguous_trait_object.rast index 7049f4734..6eaa32b96 100644 --- a/crates/syntax/test_data/parser/err/0046_ambiguous_trait_object.rast +++ b/crates/syntax/test_data/parser/err/0046_ambiguous_trait_object.rast | |||
@@ -8,7 +8,7 @@ [email protected] | |||
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
11 | [email protected] "\'a" | 11 | [email protected] "'a" |
12 | [email protected] ">" | 12 | [email protected] ">" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] "=" | 14 | [email protected] "=" |
@@ -16,7 +16,7 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "&" | 17 | [email protected] "&" |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "\'a" | 19 | [email protected] "'a" |
20 | [email protected] " " | 20 | [email protected] " " |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] "dyn" | 22 | [email protected] "dyn" |
@@ -104,7 +104,7 @@ [email protected] | |||
104 | [email protected] " " | 104 | [email protected] " " |
105 | [email protected] | 105 | [email protected] |
106 | [email protected] | 106 | [email protected] |
107 | [email protected] "\'static" | 107 | [email protected] "'static" |
108 | [email protected] ";" | 108 | [email protected] ";" |
109 | [email protected] "\n" | 109 | [email protected] "\n" |
110 | [email protected] | 110 | [email protected] |