You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: constant expression depends on a generic parameter
--> ...\test.rs:13:5
|
13 | this: Foo<{ spam(M) }>,
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this may fail depending on what value the parameter takes
error: aborting due to previous error
(This error reduces the usefulness of const generics for me).
The text was updated successfully, but these errors were encountered:
@jonas-schievink I am not sure it's right to close this issue down. This used to work up to about one day ago. For me it's a regression (despite const generics are an incomplete feature)
leonardo-m
changed the title
New depends on a generic parameter error
[Regression] New depends on a generic parameter error
Jun 4, 2020
This used to work up to the penultimate Nightly version:
Today it doesn't compile:
Now it gives:
(This error reduces the usefulness of const generics for me).
The text was updated successfully, but these errors were encountered: