about summary refs log tree commit diff
path: root/compiler/rustc_plugin_impl
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-03-23 00:00:35 +0530
committerGitHub <noreply@github.com>2023-03-23 00:00:35 +0530
commiteda88a30c767d1933aaf82a83d679a245b7d26b8 (patch)
tree8047ee2a1679b107542e980b2ffb2f1f9daf91b5 /compiler/rustc_plugin_impl
parent031640ccd2773dfbbf996af90349536f405591ed (diff)
parentf066d6785dc37445e06230b7704faef75489a80f (diff)
downloadrust-eda88a30c767d1933aaf82a83d679a245b7d26b8.tar.gz
rust-eda88a30c767d1933aaf82a83d679a245b7d26b8.zip
Rollup merge of #109435 - oli-obk:🇨🇭🥚_copy_op, r=RalfJung
Detect uninhabited types early in const eval

r? `@RalfJung`

implements https://github.com/rust-lang/rust/pull/108442#discussion_r1143003840

this is a breaking change, as some UB during const eval is now detected instead of silently being ignored. Users can see this and other UB that may cause future breakage with `-Zextra-const-ub-checks` or just by running miri on their code, which sets that flag by default.
Diffstat (limited to 'compiler/rustc_plugin_impl')
0 files changed, 0 insertions, 0 deletions