about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-bindings.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-13 18:03:33 +0100
committerGitHub <noreply@github.com>2023-12-13 18:03:33 +0100
commit1dd36119d062d8a19cde620a85e5891066c2cf67 (patch)
tree2c40d58703146a9f4abbfef90771e35ff4f97f86 /tests/rustdoc-js-std/parser-bindings.js
parentdbc6ec66368d8e15bfde166d7b505d66b9bd031f (diff)
parenta48cebc4b833bc0df9242ae9845a79299b4cf079 (diff)
downloadrust-1dd36119d062d8a19cde620a85e5891066c2cf67.tar.gz
rust-1dd36119d062d8a19cde620a85e5891066c2cf67.zip
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 6fae7f807146e400fa2bbd1c44768d9bcaa57c4c.
Diffstat (limited to 'tests/rustdoc-js-std/parser-bindings.js')
0 files changed, 0 insertions, 0 deletions