diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar/type_params.rs')
-rw-r--r-- | crates/ra_syntax/src/grammar/type_params.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar/type_params.rs b/crates/ra_syntax/src/grammar/type_params.rs index 369125b39..1ec813b3e 100644 --- a/crates/ra_syntax/src/grammar/type_params.rs +++ b/crates/ra_syntax/src/grammar/type_params.rs | |||
@@ -126,7 +126,7 @@ fn is_where_predicate(p: &mut Parser) -> bool { | |||
126 | match p.current() { | 126 | match p.current() { |
127 | LIFETIME => true, | 127 | LIFETIME => true, |
128 | IMPL_KW => false, | 128 | IMPL_KW => false, |
129 | _ => types::is_type_start(p), | 129 | token => types::TYPE_FIRST.contains(token), |
130 | } | 130 | } |
131 | } | 131 | } |
132 | 132 | ||