about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-25 15:51:35 +0000
committerbors <bors@rust-lang.org>2024-06-25 15:51:35 +0000
commitc290e9de32e8ba6a673ef125fde40eadd395d170 (patch)
tree9d40c19ec778317c30ae2770bed4f993373ce60d /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentd929a42a664c026167800801b26d734db925314f (diff)
parent0e73e7095ae7aa7ead69c4ba7ba002560ef118fa (diff)
downloadrust-c290e9de32e8ba6a673ef125fde40eadd395d170.tar.gz
rust-c290e9de32e8ba6a673ef125fde40eadd395d170.zip
Auto merge of #126326 - eggyal:ununsafe-StableOrd, r=michaelwoerister
Un-unsafe the `StableOrd` trait

Whilst incorrect implementations of this trait can cause miscompilation, they cannot cause memory unsafety in rustc.

[Discussed on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/Policy.20of.20.60unsafe.60.20within.20the.20compiler).

cc [MCP 533](https://github.com/rust-lang/compiler-team/issues/533), #105175, `@michaelwoerister`

r? `@Nilstrieb`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions