Fix UI test
This commit is contained in:
parent
80e1ee5aee
commit
580ca930ac
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue