mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00: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
|
||
---|---|---|
.. | ||
async-awaiting-fut.rs | ||
async-awaiting-fut.stdout | ||
future-as-arg.rs | ||
large-arg.rs | ||
large-arg.stdout |