From 580ca930ac6423dd1dc6a1d90f9d899c8fb5e562 Mon Sep 17 00:00:00 2001 From: Deadbeef Date: Fri, 27 Aug 2021 07:12:40 +0000 Subject: [PATCH] Fix UI test --- .../call-generic-method-dup-bound.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ 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 } -- GitLab