rust/compiler/rustc_ty_utils/src
Matthias Krüger 1dd36119d0
Rollup merge of #118871 - tmiasko:coroutine-maybe-uninit-fields, r=compiler-errors
Coroutine variant fields can be uninitialized

Wrap coroutine variant fields in MaybeUninit to indicate that they might be uninitialized. Otherwise an uninhabited field will make the entire variant uninhabited and introduce undefined behaviour.

The analogous issue in the prefix of coroutine layout was addressed by 6fae7f8071.
2023-12-13 18:03:33 +01:00
..
abi.rs Implement async gen blocks 2023-12-08 17:23:25 +00:00
assoc.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
common_traits.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
consts.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
errors.rs Re-use error code for duplicate error 2023-06-22 15:51:14 +00:00
implied_bounds.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
instance.rs Implement async gen blocks 2023-12-08 17:23:25 +00:00
layout_sanity_check.rs fix failure to detect a too-big-type after adding padding 2023-10-27 18:07:53 +02:00
layout.rs Coroutine variant fields can be uninitialized 2023-12-12 00:00:00 +00:00
lib.rs Use rustc_fluent_macro::fluent_messages! directly. 2023-11-26 08:38:40 +11:00
needs_drop.rs review + add tests 2023-11-02 18:16:37 +01:00
opaque_types.rs Rename HandlerInner::delay_span_bug as HandlerInner::span_delayed_bug. 2023-12-02 09:01:19 +11:00
representability.rs Reduce exposure of some items. 2023-11-20 14:10:19 +11:00
sig_types.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
structural_match.rs Reduce exposure of some items. 2023-11-20 14:10:19 +11:00
ty.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00