Open
Description
The following code
struct Test<T, const VAL: T>(T);
Results in a "error[E0770]: the type of const parameters must not depend on other generic parameters" compilation error on current Nightly.
I would expect that there is some unstable feature generic_const_exprs
but complier suggests none. I've seen enough people having this question so I think it worth having one issue to have all relevant answers/solutions.