aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline
diff options
context:
space:
mode:
authorMatthew Jasper <[email protected]>2020-06-11 18:14:57 +0100
committerMatthew Jasper <[email protected]>2020-06-11 18:14:57 +0100
commit879693e63c19b474153473e11f96ab9c321739db (patch)
tree1f843b041db0d7d413f63437c1bcbe4927eafeb3 /crates/ra_syntax/test_data/parser/inline
parent506e1ddbfa5213f254923da9bbf0efddc6f1fc34 (diff)
Move complex inline test to own file
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast252
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rs16
2 files changed, 1 insertions, 267 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast b/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast
index 4f88bfe43..cd0892451 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast
@@ -1,4 +1,4 @@
1SOURCE_FILE@0..292 1SOURCE_FILE@0..54
2 [email protected] 2 [email protected]
3 [email protected] "fn" 3 [email protected] "fn"
4 [email protected] " " 4 [email protected] " "
@@ -58,253 +58,3 @@ [email protected]
58 [email protected] " " 58 [email protected] " "
59 [email protected] "}" 59 [email protected] "}"
60 [email protected] "\n" 60 [email protected] "\n"
61 [email protected]
62 [email protected] "fn"
63 [email protected] " "
64 [email protected]
65 [email protected] "for_ref"
66 [email protected]
67 [email protected] "<"
68 [email protected]
69 [email protected]
70 [email protected] "F"
71 [email protected] ">"
72 [email protected]
73 [email protected] "("
74 [email protected] ")"
75 [email protected] "\n"
76 [email protected]
77 [email protected] "where"
78 [email protected] "\n "
79 [email protected]
80 [email protected] "for"
81 [email protected]
82 [email protected] "<"
83 [email protected]
84 [email protected] "\'a"
85 [email protected] ">"
86 [email protected] " "
87 [email protected]
88 [email protected] "&"
89 [email protected] "\'a"
90 [email protected] " "
91 [email protected]
92 [email protected]
93 [email protected]
94 [email protected]
95 [email protected] "F"
96 [email protected] ":"
97 [email protected] " "
98 [email protected]
99 [email protected]
100 [email protected]
101 [email protected]
102 [email protected]
103 [email protected]
104 [email protected] "Debug"
105 [email protected] "\n"
106 [email protected]
107 [email protected] "{"
108 [email protected] " "
109 [email protected] "}"
110 [email protected] "\n"
111 [email protected]
112 [email protected] "fn"
113 [email protected] " "
114 [email protected]
115 [email protected] "for_parens"
116 [email protected]
117 [email protected] "<"
118 [email protected]
119 [email protected]
120 [email protected] "F"
121 [email protected] ">"
122 [email protected]
123 [email protected] "("
124 [email protected] ")"
125 [email protected] "\n"
126 [email protected]
127 [email protected] "where"
128 [email protected] "\n "
129 [email protected]
130 [email protected] "for"
131 [email protected]
132 [email protected] "<"
133 [email protected]
134 [email protected] "\'a"
135 [email protected] ">"
136 [email protected] " "
137 [email protected]
138 [email protected] "("
139 [email protected]
140 [email protected] "&"
141 [email protected] "\'a"
142 [email protected] " "
143 [email protected]
144 [email protected]
145 [email protected]
146 [email protected]
147 [email protected] "F"
148 [email protected] ")"
149 [email protected] ":"
150 [email protected] " "
151 [email protected]
152 [email protected]
153 [email protected]
154 [email protected]
155 [email protected]
156 [email protected]
157 [email protected] "Fn"
158 [email protected]
159 [email protected] "("
160 [email protected]
161 [email protected]
162 [email protected] "&"
163 [email protected] "\'a"
164 [email protected] " "
165 [email protected]
166 [email protected]
167 [email protected]
168 [email protected]
169 [email protected] "str"
170 [email protected] ")"
171 [email protected] "\n"
172 [email protected]
173 [email protected] "{"
174 [email protected] " "
175 [email protected] "}"
176 [email protected] "\n"
177 [email protected]
178 [email protected] "fn"
179 [email protected] " "
180 [email protected]
181 [email protected] "for_slice"
182 [email protected]
183 [email protected] "<"
184 [email protected]
185 [email protected]
186 [email protected] "F"
187 [email protected] ">"
188 [email protected]
189 [email protected] "("
190 [email protected] ")"
191 [email protected] "\n"
192 [email protected]
193 [email protected] "where"
194 [email protected] "\n "
195 [email protected]
196 [email protected] "for"
197 [email protected]
198 [email protected] "<"
199 [email protected]
200 [email protected] "\'a"
201 [email protected] ">"
202 [email protected] " "
203 [email protected]
204 [email protected] "["
205 [email protected]
206 [email protected] "&"
207 [email protected] "\'a"
208 [email protected] " "
209 [email protected]
210 [email protected]
211 [email protected]
212 [email protected]
213 [email protected] "F"
214 [email protected] "]"
215 [email protected] ":"
216 [email protected] " "
217 [email protected]
218 [email protected]
219 [email protected]
220 [email protected]
221 [email protected]
222 [email protected]
223 [email protected] "Eq"
224 [email protected] "\n"
225 [email protected]
226 [email protected] "{"
227 [email protected] " "
228 [email protected] "}"
229 [email protected] "\n"
230 [email protected]
231 [email protected] "fn"
232 [email protected] " "
233 [email protected]
234 [email protected] "for_qpath"
235 [email protected]
236 [email protected] "<"
237 [email protected]
238 [email protected]
239 [email protected] "T"
240 [email protected] ">"
241 [email protected]
242 [email protected] "("
243 [email protected]
244 [email protected]
245 [email protected]
246 [email protected] "_t"
247 [email protected] ":"
248 [email protected] " "
249 [email protected]
250 [email protected] "&"
251 [email protected]
252 [email protected]
253 [email protected]
254 [email protected]
255 [email protected] "T"
256 [email protected] ")"
257 [email protected] "\n"
258 [email protected]
259 [email protected] "where"
260 [email protected] "\n "
261 [email protected]
262 [email protected] "for"
263 [email protected]
264 [email protected] "<"
265 [email protected]
266 [email protected] "\'a"
267 [email protected] ">"
268 [email protected] " "
269 [email protected]
270 [email protected]
271 [email protected]
272 [email protected]
273 [email protected] "<"
274 [email protected]
275 [email protected] "&"
276 [email protected] "\'a"
277 [email protected] " "
278 [email protected]
279 [email protected]
280 [email protected]
281 [email protected]
282 [email protected] "T"
283 [email protected] " "
284 [email protected] "as"
285 [email protected] " "
286 [email protected]
287 [email protected]
288 [email protected]
289 [email protected]
290 [email protected] "Baz"
291 [email protected] ">"
292 [email protected] "::"
293 [email protected]
294 [email protected]
295 [email protected] "Foo"
296 [email protected] ":"
297 [email protected] " "
298 [email protected]
299 [email protected]
300 [email protected]
301 [email protected]
302 [email protected]
303 [email protected]
304 [email protected] "Iterator"
305 [email protected] "\n"
306 [email protected]
307 [email protected] "{"
308 [email protected] " "
309 [email protected] "}"
310 [email protected] "\n"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rs b/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rs
index 2d47596be..423bc105b 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rs
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rs
@@ -2,19 +2,3 @@ fn for_trait<F>()
2where 2where
3 for<'a> F: Fn(&'a str) 3 for<'a> F: Fn(&'a str)
4{ } 4{ }
5fn for_ref<F>()
6where
7 for<'a> &'a F: Debug
8{ }
9fn for_parens<F>()
10where
11 for<'a> (&'a F): Fn(&'a str)
12{ }
13fn for_slice<F>()
14where
15 for<'a> [&'a F]: Eq
16{ }
17fn for_qpath<T>(_t: &T)
18where
19 for<'a> <&'a T as Baz>::Foo: Iterator
20{ }