1
Fork 0

Use iterators instead of slices at more sites

This commit is contained in:
Oli Scherer 2022-11-17 13:06:37 +00:00
parent ec8d01fdcc
commit 9e4c3f41c1
7 changed files with 10 additions and 9 deletions

View file

@ -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?