about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJack Wrenn <jack@wrenn.fyi>2024-12-05 20:15:08 +0000
committerJack Wrenn <jack@wrenn.fyi>2024-12-05 23:52:21 +0000
commita122dde217459c1decbce3452323807154763206 (patch)
tree30538e19e7f4f104a5b8b3fa71d6af57c4a5e11e /compiler/rustc_codegen_llvm/src
parent0e98766a5478abd9a279777e55e3d3e06e1761c0 (diff)
downloadrust-a122dde217459c1decbce3452323807154763206.tar.gz
rust-a122dde217459c1decbce3452323807154763206.zip
do not implement unsafe auto traits for types with unsafe fields
If a type has unsafe fields, its safety invariants are not simply
the conjunction of its field types' safety invariants. Consequently,
it's invalid to reason about the safety properties of these types
in a purely structural manner — i.e., the manner in which `auto`
traits are implemented.

Makes progress towards #132922.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions