diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-03-25 20:34:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-25 20:34:50 -0400 |
| commit | deb987b69dae0857a9e108f86bf24c60150a6e9f (patch) | |
| tree | db3a6110be08cb2f1b04be78da07ecbb10e67d15 /compiler/rustc_codegen_ssa/src | |
| parent | 04cbe2816df9ce5c9db762f9af7ef6f0a1a50a38 (diff) | |
| parent | 154cb083e705feca7509143352887dd293db61b2 (diff) | |
| download | rust-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
