about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNathaniel McCallum <nathaniel@mccallum.life>2025-09-12 18:35:21 -0400
committerNathaniel McCallum <nathaniel@mccallum.life>2025-09-17 16:39:01 -0500
commit8d7ec96c00994e3e4da652201792ae2040c979c1 (patch)
treeee728411249cf646cfed569588aaf608ee10235f /compiler/rustc_codegen_llvm/src
parent4645a7988177c286f61609cc667ecae4c571a2e8 (diff)
downloadrust-8d7ec96c00994e3e4da652201792ae2040c979c1.tar.gz
rust-8d7ec96c00994e3e4da652201792ae2040c979c1.zip
add `[const] PartialEq` bound to `PartialOrd`
This change is included for discussion purposes.

The PartialOrd bound on PartialEq is not strictly necessary. It
is, rather, logical: anything which is orderable should by
definition have equality. Is the same true for constness? Should
every type which is const orderable also have const equality?
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions