We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d39f84d commit 0c913e6Copy full SHA for 0c913e6
src/comp/syntax/parse/token.rs
@@ -172,6 +172,7 @@ pred can_begin_expr(token t) -> bool {
172
alt (t) {
173
case (LPAREN) { true }
174
case (LBRACE) { true }
175
+ case (LBRACKET) { true }
176
case (IDENT(_,_)) { true }
177
case (UNDERSCORE) { true }
178
case (TILDE) { true }
@@ -184,6 +185,9 @@ pred can_begin_expr(token t) -> bool {
184
185
case (LIT_CHAR(_)) { true }
186
case (POUND) { true }
187
case (AT) { true }
188
+ case (NOT) { true }
189
+ case (BINOP(MINUS)) { true }
190
+ case (BINOP(STAR)) { true }
191
case (_) { false }
192
}
193
0 commit comments