News for hackers. Stuff that matters.
Re:Rust 1.50 by CodesInChaos on Thursday February 11, 2021 @10:51AM (#26102877)
Unfortunately the version of const generics stabilized in 1.51 has many limitations. The core problem seems to be that evaluating const functions can panic, while generics should only produce errors when constraints are not met, not when instantiating them.

The current limitation I find the most annoying is that you can't use associated constants in generics.

There are no comments on this comment yet.