diff --git a/crates/ra_syntax/src/grammar/type_params.rs b/crates/ra_syntax/src/grammar/type_params.rs index f4c98675c6c7..863f8e00c6d9 100644 --- a/crates/ra_syntax/src/grammar/type_params.rs +++ b/crates/ra_syntax/src/grammar/type_params.rs @@ -108,7 +108,7 @@ pub(super) fn opt_where_clause(p: &mut Parser) { break; } where_predicate(p); - if p.current() != L_CURLY && p.current() != SEMI { + if p.current() != L_CURLY && p.current() != SEMI && p.current() != EQ { p.expect(COMMA); } }