about summary refs log tree commit diff
path: root/compiler/rustc_llvm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-13 23:42:05 +0000
committerbors <bors@rust-lang.org>2022-07-13 23:42:05 +0000
commitcbb07c27a4d78f95557a6b9cdcc32f98d67a0c22 (patch)
treec6ca234d183a8002b09848b116cd547ff2d01b14 /compiler/rustc_llvm
parent87588a2afd9ca903366f0deaf84d805f34469384 (diff)
parent07fe9882cc6e03682fcfa7b18c8f5b998219bdd2 (diff)
downloadrust-cbb07c27a4d78f95557a6b9cdcc32f98d67a0c22.tar.gz
rust-cbb07c27a4d78f95557a6b9cdcc32f98d67a0c22.zip
Auto merge of #97995 - RalfJung:union-more-nodrop, r=Mark-Simulacrum
allow unions with mutable references and tuples of allowed types

We currently allow shared references in unions, but not mutable references. That seems somewhat inconsistent. So let's allow all references, and while we are at it, let's make sure the set of allowed types is closed under tuples.

This will need T-lang FCP (at least).

Then remove the `tagged_unions` feature, since we do not plan to stabilize any more of it.
Closes https://github.com/rust-lang/rust/issues/55149
Diffstat (limited to 'compiler/rustc_llvm')
0 files changed, 0 insertions, 0 deletions