diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2022-12-02 15:14:49 +0100 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2022-12-02 15:19:30 +0100 |
| commit | 3a58309798e39ab48e4cb85c1013ad7e7410ace8 (patch) | |
| tree | ccd3701f75e5d908530e5646265353f2aef5b3ed /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 11663b1b4857ffeafbd85a9a36c234d117373b76 (diff) | |
| download | rust-3a58309798e39ab48e4cb85c1013ad7e7410ace8.tar.gz rust-3a58309798e39ab48e4cb85c1013ad7e7410ace8.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
