3 ms·
> Traits and fixed array bounds do not play well together. This is considered a bug, and it's been a bug since at least 2017. Generic parameters can only be typ
by matt_kantor 6y ago
> Traits and fixed array bounds do not play well together. This is considered a bug, and it's been a bug since at least 2017. Generic parameters can only be types, not numbers.
FWIW the remedy for this is being stabilized soon: https://github.com/rust-lang/rust/pull/79135 https://github.com/rust-lang/rust/pull/79135