mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
a48cebc4b8
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.