rust/compiler/rustc_const_eval/src
Matthias Krüger 345d483e95
Rollup merge of #89859 - RalfJung:write-discriminant, r=oli-obk
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``
2021-10-15 07:44:47 +02:00
..
const_eval Add const_eval_select intrinsic 2021-10-12 05:42:23 +00:00
interpret Rollup merge of #89859 - RalfJung:write-discriminant, r=oli-obk 2021-10-15 07:44:47 +02:00
transform Fix const stability 2021-10-14 07:07:34 +00:00
util Rename rustc_mir to rustc_const_eval. 2021-09-07 20:46:26 +02:00
lib.rs Bump stage0 compiler to 1.56 2021-09-08 20:51:05 -04:00