tree-sitter / tree-sitter-rust

Rust grammar for tree-sitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Array constraint in where clause errors

AloeareV opened this issue · comments

The where clause parser can't handle constraints on array types.

Minimal example:

fn foo<D>(val: D)
where   
    [u8; 32]: From<D>,

{}