tree-sitter / tree-sitter-rust

Rust grammar for tree-sitter
MIT License
340 stars 97 forks source link

Array constraint in where clause errors #155

Closed AloeareV closed 1 year ago

AloeareV commented 2 years ago

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

Minimal example:

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

{}