rust/compiler/rustc_const_eval/src
Dylan DPC eda88a30c7
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.
2023-03-23 00:00:35 +05:30
..
const_eval Rollup merge of #109435 - oli-obk:🇨🇭🥚_copy_op, r=RalfJung 2023-03-23 00:00:35 +05:30
interpret Add a layout argument to enforce_validity. 2023-03-21 08:52:31 +00:00
transform Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors 2023-03-22 05:33:18 +00:00
util Allow checking whether a type allows being uninitialized 2023-03-02 18:33:48 +00:00
errors.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
lib.rs Simplify message paths 2023-03-11 22:51:57 +01:00