Stop passing the self-type as a separate argument.
This commit is contained in:
parent
a4da3f8863
commit
7658e0fccf
38 changed files with 113 additions and 164 deletions
|
@ -232,8 +232,7 @@ impl<'tcx> ConstToPat<'tcx> {
|
|||
ObligationCause::misc(self.span, self.id),
|
||||
partial_eq_trait_id,
|
||||
0,
|
||||
ty,
|
||||
[ty.into()],
|
||||
[ty, ty],
|
||||
);
|
||||
// FIXME: should this call a `predicate_must_hold` variant instead?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue