98f5ebbe2e
Replace switch to unreachable by assume statements `UnreachablePropagation` currently keeps some switch terminators alive in order to ensure codegen can infer the inequalities on the discriminants. This PR proposes to encode those inequalities as `Assume` statements. This allows to simplify MIR further by removing some useless terminators. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |