about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-12-18 10:26:35 +0100
committerGitHub <noreply@github.com>2021-12-18 10:26:35 +0100
commit359c88e426c7a696ebaac071feaeea1799d4db58 (patch)
tree652481be0267da3aab94a8588bdca5ecc3cc45d2 /compiler/rustc_codegen_llvm/src
parentdde825db464b08d6f572766579dfb629b837368c (diff)
parent20492870307feae4ca57acdca75bcc8ea06fe175 (diff)
downloadrust-359c88e426c7a696ebaac071feaeea1799d4db58.tar.gz
rust-359c88e426c7a696ebaac071feaeea1799d4db58.zip
Rollup merge of #91439 - ecstatic-morse:const-cmp-trait-default-methods, r=oli-obk
Mark defaulted `PartialEq`/`PartialOrd` methods as const

WIthout it, `const` impls of these traits are unpleasant to write. I think this kind of change is allowed now. although it looks like it might require some Miri tweaks. Let's find out.

r? ```@fee1-dead```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions