diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar/type_params.rs')
-rw-r--r-- | crates/ra_syntax/src/grammar/type_params.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/grammar/type_params.rs b/crates/ra_syntax/src/grammar/type_params.rs index a7eacf97a..369125b39 100644 --- a/crates/ra_syntax/src/grammar/type_params.rs +++ b/crates/ra_syntax/src/grammar/type_params.rs | |||
@@ -149,6 +149,11 @@ fn where_predicate(p: &mut Parser) { | |||
149 | p.error("expected lifetime or type"); | 149 | p.error("expected lifetime or type"); |
150 | } | 150 | } |
151 | _ => { | 151 | _ => { |
152 | // test where_pred_for | ||
153 | // fn test<F>() | ||
154 | // where | ||
155 | // for<'a> F: Fn(&'a str) | ||
156 | // { } | ||
152 | types::type_(p); | 157 | types::type_(p); |
153 | 158 | ||
154 | if p.at(COLON) { | 159 | if p.at(COLON) { |