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
Should there be some additional message in the error about this being a panic turned error?
Or do we just produce the exact message the panic would produce?
This change becomes really useful if Result::unwrap and Option::unwrap become const fn, doing both in one go might be a good idea.
This is a tracking issue for the RFC "Allow panicking in constants" (rust-lang/rfcs#2345).
Steps:
Unresolved questions:
Should there be some additional message in the error about this being a panic turned error?
Or do we just produce the exact message the panic would produce?
This change becomes really useful if
Result::unwrapandOption::unwrapbecomeconst fn, doing both in one go might be a good idea.Blockers: