about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-06 09:21:49 +0000
committerbors <bors@rust-lang.org>2022-12-06 09:21:49 +0000
commit9db224fc908059986c179fc6ec433944e9cfce50 (patch)
tree1d7ea6499772331aeb35a1b4cebb1c7e18c46d19 /compiler/rustc_codegen_llvm/src
parentc5351ad4dcd9f3d73241b2acbfc6b4631da845c5 (diff)
parent56aacb245ce484994ac2e0ecab72b477ad6dc362 (diff)
downloadrust-9db224fc908059986c179fc6ec433944e9cfce50.tar.gz
rust-9db224fc908059986c179fc6ec433944e9cfce50.zip
Auto merge of #105175 - michaelwoerister:add-stable-ord-trait, r=nagisa
Add StableOrd trait as proposed in MCP 533.

The `StableOrd` trait can be used to mark types as having a stable sort order across compilation sessions. Collections that sort their items in a stable way can safely implement HashStable by hashing items in sort order.

See https://github.com/rust-lang/compiler-team/issues/533 for more information.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions