about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-10-18 10:47:36 +0800
committerkennytm <kennytm@gmail.com>2018-10-18 12:55:13 +0800
commit89b7ccf4075acd29b611cf6f565229bf2c134e36 (patch)
treec2379eaba0a426d1d8371e3b96be1efc0a8bf687 /src/test/incremental/thinlto
parent6f6878c073333f99fba834ac836757e10d989e10 (diff)
parentc31819b3ff35be5bdec58cba9515578fbff0a5b8 (diff)
downloadrust-89b7ccf4075acd29b611cf6f565229bf2c134e36.tar.gz
rust-89b7ccf4075acd29b611cf6f565229bf2c134e36.zip
Rollup merge of #55142 - RalfJung:miri-uninhabited-enum, r=oli-obk
miri: layout should not affect CTFE checks (outside of validation)

Either the enum has no valid discriminant, then the code later will catch that; or it does, then we shouldn't error out so early (absent enforcing validity).

Interestingly, the miri test suite still passes; my guess is we don't even get here for uninhabited types?

r? @oli-obk
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions