diff options
author | Matthew Jasper <[email protected]> | 2020-06-11 18:14:57 +0100 |
---|---|---|
committer | Matthew Jasper <[email protected]> | 2020-06-11 18:14:57 +0100 |
commit | 879693e63c19b474153473e11f96ab9c321739db (patch) | |
tree | 1f843b041db0d7d413f63437c1bcbe4927eafeb3 /crates/ra_parser | |
parent | 506e1ddbfa5213f254923da9bbf0efddc6f1fc34 (diff) |
Move complex inline test to own file
Diffstat (limited to 'crates/ra_parser')
-rw-r--r-- | crates/ra_parser/src/grammar/type_params.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/crates/ra_parser/src/grammar/type_params.rs b/crates/ra_parser/src/grammar/type_params.rs index b3508c732..325d566ad 100644 --- a/crates/ra_parser/src/grammar/type_params.rs +++ b/crates/ra_parser/src/grammar/type_params.rs | |||
@@ -195,22 +195,6 @@ fn where_predicate(p: &mut Parser) { | |||
195 | // where | 195 | // where |
196 | // for<'a> F: Fn(&'a str) | 196 | // for<'a> F: Fn(&'a str) |
197 | // { } | 197 | // { } |
198 | // fn for_ref<F>() | ||
199 | // where | ||
200 | // for<'a> &'a F: Debug | ||
201 | // { } | ||
202 | // fn for_parens<F>() | ||
203 | // where | ||
204 | // for<'a> (&'a F): Fn(&'a str) | ||
205 | // { } | ||
206 | // fn for_slice<F>() | ||
207 | // where | ||
208 | // for<'a> [&'a F]: Eq | ||
209 | // { } | ||
210 | // fn for_qpath<T>(_t: &T) | ||
211 | // where | ||
212 | // for<'a> <&'a T as Baz>::Foo: Iterator | ||
213 | // { } | ||
214 | if p.at(T![for]) { | 198 | if p.at(T![for]) { |
215 | types::for_binder(p); | 199 | types::for_binder(p); |
216 | } | 200 | } |