Use iterators instead of slices at more sites
This commit is contained in:
parent
ec8d01fdcc
commit
9e4c3f41c1
7 changed files with 10 additions and 9 deletions
|
@ -241,7 +241,7 @@ impl<'tcx> ConstToPat<'tcx> {
|
|||
partial_eq_trait_id,
|
||||
0,
|
||||
ty,
|
||||
&[any_ty],
|
||||
[any_ty],
|
||||
);
|
||||
// FIXME: should this call a `predicate_must_hold` variant instead?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue