Fix UI test

This commit is contained in:
Deadbeef 2021-08-27 07:12:40 +00:00
parent 80e1ee5aee
commit 580ca930ac
No known key found for this signature in database
GPG Key ID: 027DF9338862ADDD

View File

@ -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: PartialEq + ~const PartialEq>(t: &T) -> bool {
// const fn equals_self<T: PartialEq + ~const PartialEq>(t: &T) -> bool {
// FIXME(fee1-dead)^ why should the order matter here?
const fn equals_self<T: ~const PartialEq + PartialEq>(t: &T) -> bool {
*t == *t
}