Re:Monads and GATs in Nightly Rust
by matt_kantor on Friday December 11, 2020 @02:37PM
(#25389845)
> 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