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 5853b66b868a5898cb71870e3959866bc0fb0700..7185376b440c8fdf10e7b029f7f94f2a4ac1acba 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 @@ fn ne(&self, other: &S) -> bool { // 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 }