We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ad5e48 commit 53f78aeCopy full SHA for 53f78ae
clippy_lints/src/ptr.rs
@@ -698,9 +698,8 @@ fn matches_preds<'tcx>(
698
cx.tcx,
699
ObligationCause::dummy(),
700
cx.param_env,
701
- cx.tcx.mk_predicate(Binder::bind_with_vars(
+ cx.tcx.mk_predicate(Binder::dummy(
702
PredicateKind::Projection(p.with_self_ty(cx.tcx, ty)),
703
- List::empty(),
704
)),
705
706
ExistentialPredicate::AutoTrait(p) => infcx
0 commit comments