diff options
author | bors <bors@rust-lang.org> | 2022-07-13 23:42:05 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-07-13 23:42:05 +0000 |
commit | cbb07c27a4d78f95557a6b9cdcc32f98d67a0c22 (patch) | |
tree | c6ca234d183a8002b09848b116cd547ff2d01b14 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 87588a2afd9ca903366f0deaf84d805f34469384 (diff) | |
parent | 07fe9882cc6e03682fcfa7b18c8f5b998219bdd2 (diff) | |
download | rust-cbb07c27a4d78f95557a6b9cdcc32f98d67a0c22.tar.gz |
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 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions