diff options
| author | bors <bors@rust-lang.org> | 2023-09-26 05:33:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-26 05:33:55 +0000 |
| commit | 27b4eb96d13106332d511be2ea6d0c008a57aa6e (patch) | |
| tree | 93dbb7a7e712d667f64b0642ee7994c2eaa6e2e8 /compiler/rustc_mir_transform/src/coverage/counters.rs | |
| parent | a6dce3bac50f14d6ef10f74b82c16e90bdb47d36 (diff) | |
| parent | ad509633a261999ba9d73aff908d48da77e0245f (diff) | |
| download | rust-27b4eb96d13106332d511be2ea6d0c008a57aa6e.tar.gz rust-27b4eb96d13106332d511be2ea6d0c008a57aa6e.zip | |
Auto merge of #116125 - RalfJung:const-param-ty-eq, r=compiler-errors
ConstParamTy: require Eq as supertrait As discussed with `@BoxyUwu` [on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/260443-project-const-generics/topic/.60ConstParamTy.60.20and.20.60Eq.60). We want to say that valtree equality on const generic params agrees with `==`, but that only makes sense if `==` actually exists, hence we should have an appropriate bound. Valtree equality is an equivalence relation, so such a type can always be `Eq` and not just `PartialEq`.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions
