345d483e95
add dedicated error variant for writing the discriminant of an uninhabited enum variant This is conceptually different from hitting an `Unreachable` terminator. Also add some sanity check making sure we don't write discriminants of things that do not have discriminants. r? ``@oli-obk`` |
||
---|---|---|
.. | ||
intrinsics | ||
cast.rs | ||
eval_context.rs | ||
intern.rs | ||
intrinsics.rs | ||
machine.rs | ||
memory.rs | ||
mod.rs | ||
operand.rs | ||
operator.rs | ||
place.rs | ||
step.rs | ||
terminator.rs | ||
traits.rs | ||
util.rs | ||
validity.rs | ||
visitor.rs |