about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-21 15:17:08 +0000
committerbors <bors@rust-lang.org>2022-03-21 15:17:08 +0000
commit44628f7273052d0bb8e8218518dacab210e1fe0d (patch)
tree7aadcc54d2a00cd107473226a02e00a48a51f450 /library/std/src
parent051d1176b786aadd7d7c048f822cb6bfab00fe03 (diff)
parent9477febc49e268aaac289e1a2ef348f552e1ae29 (diff)
downloadrust-44628f7273052d0bb8e8218518dacab210e1fe0d.tar.gz
rust-44628f7273052d0bb8e8218518dacab210e1fe0d.zip
Auto merge of #95169 - Smittyvb:union-test-ub, r=bjorn3
Don't run UB in test suite

This splits `ui/unsafe/union.rs` to make it so only the non-UB parts are run. It also means we can do more testing of the location of error messages (which are a bit different with the THIR unsafety checker). `union-modification.rs` has no UB (according to Miri), and `union.rs` has errors (but would have UB if not for those errors).

Closes #95075.
r? `@bjorn3`
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions