Skip to content

Commit 70e0ef8

Browse files
committed
fix: allow array_types in where_predicate
1 parent 0431a2c commit 70e0ef8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

grammar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ module.exports = grammar({
440440
$.reference_type,
441441
$.pointer_type,
442442
$.tuple_type,
443+
$.array_type,
443444
$.higher_ranked_trait_bound,
444445
alias(choice(...primitive_types), $.primitive_type)
445446
)),

0 commit comments

Comments
 (0)