Skip to content

Commit a091438

Browse files
drive-by: PolyExistentialPredicate
1 parent f6d4ef9 commit a091438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ fn check_ptr_arg_usage<'tcx>(cx: &LateContext<'tcx>, body: &'tcx Body<'_>, args:
687687
fn matches_preds<'tcx>(
688688
cx: &LateContext<'tcx>,
689689
ty: Ty<'tcx>,
690-
preds: &'tcx [Binder<'tcx, ExistentialPredicate<'tcx>>],
690+
preds: &'tcx [ty::PolyExistentialPredicate<'tcx>],
691691
) -> bool {
692692
let infcx = cx.tcx.infer_ctxt().build();
693693
preds.iter().all(|&p| match cx.tcx.erase_late_bound_regions(p) {

0 commit comments

Comments
 (0)