diff --git a/src/test/ui/rfc-2632-const-trait-impl/call-generic-method-dup-bound.rs b/src/test/ui/rfc-2632-const-trait-impl/call-generic-method-dup-bound.rs index 5853b66b868..7185376b440 100644 --- a/src/test/ui/rfc-2632-const-trait-impl/call-generic-method-dup-bound.rs +++ b/src/test/ui/rfc-2632-const-trait-impl/call-generic-method-dup-bound.rs @@ -16,7 +16,9 @@ impl const PartialEq for S { // This duplicate bound should not result in ambiguities. It should be equivalent to a single ~const // bound. -const fn equals_self(t: &T) -> bool { +// const fn equals_self(t: &T) -> bool { +// FIXME(fee1-dead)^ why should the order matter here? +const fn equals_self(t: &T) -> bool { *t == *t }