about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-03-25 20:34:50 -0400
committerGitHub <noreply@github.com>2025-03-25 20:34:50 -0400
commitdeb987b69dae0857a9e108f86bf24c60150a6e9f (patch)
treedb3a6110be08cb2f1b04be78da07ecbb10e67d15 /compiler/rustc_codegen_ssa/src
parent04cbe2816df9ce5c9db762f9af7ef6f0a1a50a38 (diff)
parent154cb083e705feca7509143352887dd293db61b2 (diff)
downloadrust-deb987b69dae0857a9e108f86bf24c60150a6e9f.tar.gz
rust-deb987b69dae0857a9e108f86bf24c60150a6e9f.zip
Rollup merge of #138945 - DaniPopes:override-partialord-bool, r=scottmcm
Override PartialOrd methods for bool

I noticed that `PartialOrd` implementation for `bool` does not override the individual operator methods, unlike the other primitive types like `char` and integers.

This commit extracts these `PartialOrd` overrides shared by the other primitive types into a macro and calls it on `bool` too.

CC `@scottmcm` for our recent adventures in `PartialOrd` land
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
0 files changed, 0 insertions, 0 deletions