Skip to content

Commit 59c7b33

Browse files
committed
Auto merge of #99802 - JohnTitor:rollup-uaklql1, r=JohnTitor
Rollup of 5 pull requests Successful merges: - #99079 (Check that RPITs constrained by a recursive call in a closure are compatible) - #99704 (Add `Self: ~const Trait` to traits with `#[const_trait]`) - #99769 (Sync rustc_codegen_cranelift) - #99783 (rustdoc: remove Clean trait impls for more items) - #99789 (Refactor: use `pluralize!`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2 parents 27ff116 + 63b85fd commit 59c7b33

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/src/cmp.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,9 +1503,10 @@ mod impls {
15031503
// & pointers
15041504

15051505
#[stable(feature = "rust1", since = "1.0.0")]
1506-
impl<A: ?Sized, B: ?Sized> PartialEq<&B> for &A
1506+
#[rustc_const_unstable(feature = "const_cmp", issue = "92391")]
1507+
impl<A: ?Sized, B: ?Sized> const PartialEq<&B> for &A
15071508
where
1508-
A: PartialEq<B>,
1509+
A: ~const PartialEq<B>,
15091510
{
15101511
#[inline]
15111512
fn eq(&self, other: &&B) -> bool {

0 commit comments

Comments
 (0)