On Mon, Nov 14, 2022 at 3:39 PM Gary Guo <gary@garyguo.net> wrote: > > I wrote this code when `const_panic` was not yet stable. Now we have > stable const panic this function could be removed.
Indeed, we also took advantage of it in `static_assert!` when it got stabilized but not here. I will update it.