-
Notifications
You must be signed in to change notification settings - Fork 9
Lift signal bit widths into type system when Rust achieves proper support for const generics #13
Comments
I believe this will also be required for this use case in order to be able to calculate bit widths for combined Note also that it's possible for |
Is it possible to use https://docs.rs/typenum instead before the stablization of |
Very interesting, it looks like this may have what we need. I’ll do some evaluation work and see if it meets our needs and if the resulting type errors are overwhelming or not. |
This has basically always been the plan, but is on hold until everything is stable. This will be very much a breaking change but I can imagine a lot of user code actually won't look much different due to type inference.
It looks like this is the tracking issue
min_const_generics
, which is the minimal feature subset that will be stabilized first, but it's not quite sufficient.The text was updated successfully, but these errors were encountered: