Skip to content

Commit 580ca93

Browse files
committed
Fix UI test
1 parent 80e1ee5 commit 580ca93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/ui/rfc-2632-const-trait-impl/call-generic-method-dup-bound.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ impl const PartialEq for S {
1616

1717
// This duplicate bound should not result in ambiguities. It should be equivalent to a single ~const
1818
// bound.
19-
const fn equals_self<T: PartialEq + ~const PartialEq>(t: &T) -> bool {
19+
// const fn equals_self<T: PartialEq + ~const PartialEq>(t: &T) -> bool {
20+
// FIXME(fee1-dead)^ why should the order matter here?
21+
const fn equals_self<T: ~const PartialEq + PartialEq>(t: &T) -> bool {
2022
*t == *t
2123
}
2224

0 commit comments

Comments
 (0)