Today Error (used by Result.fail) has quite a few variants. They should be merged into panic (for panicking executions) and ub (for executions that trigger UB): this would allow reasoning about panicking executions, while enforcing that we always need to prove that an execution doesn't trigger UB.
Today
Error(used byResult.fail) has quite a few variants. They should be merged intopanic(for panicking executions) andub(for executions that trigger UB): this would allow reasoning about panicking executions, while enforcing that we always need to prove that an execution doesn't trigger UB.