trait Trait {
const CONST: usize;
}
pub struct Struct<T>
where
T: Trait
{
data: [bool; T::CONST],
}
This throws an error.
unconstrained generic constant
try adding a `where` bound using this expression: `where [(); T::CONST]:`
Can this be done, or is not yet implemented. I do not understand hint provided by error message.