Well it's currently proposed that const fn
s should be allowed to panic!
, with the message becoming a compilation error if that path is hit, so one option would be to use that.
4 Likes
Well it's currently proposed that const fn
s should be allowed to panic!
, with the message becoming a compilation error if that path is hit, so one option would be to use that.